0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 23:41:49 +01:00
gitea/templates
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
..
admin Check if reverse proxy is correctly configured (#30890) 2024-05-10 20:07:01 +08:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Rework and fix stopwatch (#30732) 2024-04-30 14:52:46 +00:00
custom
devtest Fix some UI problems (dropdown/container) (#30849) 2024-05-06 07:17:22 +00:00
explore Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Right align the "Settings" menu item in overflow-menu (#30764) 2024-04-30 04:26:13 +00:00
package Avoid 500 panic error when uploading invalid maven package file (#31014) 2024-05-20 06:44:16 +00:00
projects Fix project column title overflow (#31011) 2024-05-20 05:21:01 +00:00
repo Fix incorrect "blob excerpt" link when comparing files (#31013) 2024-05-20 05:57:57 +00:00
shared Rename CodeIndexerEnabled to IsRepoIndexerEnabled (#30762) 2024-04-29 20:15:35 +00:00
status Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
swagger Simplify mirror repository API logic (#30963) 2024-05-17 16:07:41 +00:00
user Return access_denied error when an OAuth2 request is denied (#30974) 2024-05-20 07:17:00 +00:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
install.tmpl Fix some UI problems (install/checkbox) (#30854) 2024-05-06 06:32:05 +00:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00