Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use existing oauth grant for public client (#31015)
Do not try to create a new authorization grant when one exists already, thus preventing a DB-related authorization issue. Fix go-gitea/gitea#30790 (comment) --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> (cherry picked from commit 9c8c9ff6d10b35de8d2d7eae0fc2646ad9bbe94a)
- Loading branch information