Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00
forgejo/templates/user
Zettat123 886a675f62
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)
2024-05-26 18:37:20 +02:00
..
auth Return access_denied error when an OAuth2 request is denied (#30974) 2024-05-26 18:37:20 +02:00
dashboard [UI] Allow org members to navigate between the org and the dashboard 2024-05-05 23:14:57 +05:00
notification Various improvements to pages: notifications and subscriptions 2024-04-16 15:29:28 +05:00
overview Show repo count in blocked users tab (#3601) 2024-05-02 15:51:27 +00:00
settings [I18N] Improve base locale related to settings and accounts (#3733) 2024-05-13 12:05:49 +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) 2024-04-15 20:01:36 +02:00