You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web
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"
/>
10 months ago
..
admin Improve reverse proxy documents and clarify the AppURL guessing behavior (#31003) 10 months ago
auth Return `access_denied` error when an OAuth2 request is denied (#30974) 10 months ago
devtest Move context from modules to services (#29440) 1 year ago
events Move context from modules to services (#29440) 1 year ago
explore Refactor topic Find functions and add more tests for pagination (#30127) 12 months ago
feed Resolve lint for unused parameter and unnecessary type arguments (#30750) 11 months ago
healthcheck Always enable caches (#28527) 1 year ago
misc Make sure git version&feature are always prepared (#30877) 11 months ago
org Fix various problems around projects board view (#30696) 11 months ago
repo Fix "force private" logic (#31012) 10 months ago
shared Fix various problems around projects board view (#30696) 11 months ago
user Initial support for colorblindness-friendly themes (#30625) 11 months ago
base.go Fix panic in storageHandler (#27446) 1 year ago
githttp.go Move context from modules to services (#29440) 1 year ago
goget.go Move context from modules to services (#29440) 1 year ago
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 1 year ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Move context from modules to services (#29440) 1 year ago
passkey.go Move context from modules to services (#29440) 1 year ago
swagger_json.go Move context from modules to services (#29440) 1 year ago
web.go Move reverproxyauth before session so the header will not be ignored even if user has login (#27821) 11 months ago
webfinger.go Move context from modules to services (#29440) 1 year ago