1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-28 09:21:13 -05:00
forgejo/templates/user
Zettat123 d841e95191
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"
/>

(cherry picked from commit f1d9f18d96050d89a4085c961f572f07b1e653d1)
(cherry picked from commit 886a675f62)
2024-06-05 17:19:22 +02:00
..
auth Return access_denied error when an OAuth2 request is denied (#30974) 2024-06-05 17:19:22 +02:00
dashboard add label filters in org/{org_name}/issues 2024-04-04 17:37:56 +00:00
notification Add --page-spacing variable, fix admin dashboard notice (#30302) (#30323) 2024-04-15 16:16:37 +02:00
overview Show repo count in blocked users tab (#3601) 2024-05-02 17:10:06 +00:00
settings [v7.0/forgejo] Improve base locale related to settings and accounts (#3742) 2024-05-16 14:15:33 +00:00
code.tmpl Unify search boxes (#29530) 2024-03-20 12:31:05 +00:00
heatmap.tmpl Fix heatmap localization 2024-03-20 08:20:08 +01:00
profile.tmpl Fix the spacing issue in the Project view (#30415) (#30423) 2024-04-15 16:40:01 +02:00