gitea icon indicating copy to clipboard operation
gitea copied to clipboard

Return `access_denied` error when an OAuth2 request is denied

Open Zettat123 opened this issue 9 months ago • 0 comments

According to RFC 6749, when the resource owner or authorization server denied an request, an access_denied error should be returned. But currently in this case Gitea does not return any error.

For example, if the user clicks "Cancel" here, an access_denied error should be returned.

Zettat123 avatar May 14 '24 10:05 Zettat123