forgejo/templates
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
..
admin Don't show loading indicators when refreshing the system status (#30712) 2024-04-28 15:39:01 +02:00
api/packages/pypi Update templates/api/packages/pypi/simple.tmpl 2024-04-12 16:43:30 +00:00
base Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
custom [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
devtest Revert 100% label max-width (#30481) 2024-04-21 11:37:55 +02:00
explore [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
mail Remove title from email heads (#3810) 2024-05-17 10:10:33 +00:00
org [UI] Allow org members to navigate between the org and the dashboard 2024-05-05 23:14:57 +05:00
package templates: Be more forgiving about missing package metadata 2024-05-10 12:07:24 +02:00
projects Fix various problems around projects board view (#30696) 2024-05-12 20:03:10 +02:00
repo Fix "force private" logic (#31012) 2024-05-26 18:20:33 +02:00
shared UI: Hide hidden email from own profile, again 2024-05-05 13:08:31 +02:00
status Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
swagger Merge pull request '[gitea] week 2024-21 cherry pick (gitea/main -> forgejo)' (#3838) from algernon/wcp/2024-21 into forgejo 2024-05-21 08:05:01 +00:00
user Return access_denied error when an OAuth2 request is denied (#30974) 2024-05-26 18:37:20 +02:00
webhook webhook: matrix access_token helper text 2024-04-16 08:59:56 +02:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
install.tmpl Fix some UI problems (install) (#30854) 2024-05-15 20:12:14 +02:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2024-02-05 16:02:13 +01:00