gitea/services
Zettat123 f1d9f18d96
Return access_denied error when an OAuth2 request is denied (#30974)
According to [RFC
6749](https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2.1),
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.

<img width="360px"
src="https://github.com/go-gitea/gitea/assets/15528715/be31c09b-4c0a-4701-b7a4-f54b8fe3a6c5"
/>
2024-05-20 07:17:00 +00:00
..
actions
agit
asymkey
attachment
auth
automerge
context Check if reverse proxy is correctly configured (#30890) 2024-05-10 20:07:01 +08:00
contexttest Check if reverse proxy is correctly configured (#30890) 2024-05-10 20:07:01 +08:00
convert
cron
doctor
externalaccount
feed
forms Return access_denied error when an OAuth2 request is denied (#30974) 2024-05-20 07:17:00 +00:00
gitdiff
indexer
issue
lfs
mailer
markup
migrations Fix "force private" logic (#31012) 2024-05-20 00:56:45 +00:00
mirror
notify
org
packages
pull
release Check if the release is converted from the tag when updating the release (#30984) 2024-05-15 14:25:47 +00:00
repository Fix "force private" logic (#31012) 2024-05-20 00:56:45 +00:00
secrets
task Fix "force private" logic (#31012) 2024-05-20 00:56:45 +00:00
uinotification
user Fix bug on avatar (#31008) 2024-05-19 12:58:39 +08:00
webhook
webtheme
wiki