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/templates/user/auth
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"
/>
9 months ago
..
activate.tmpl Move all login and account creation page labels to be above inputs (#29432) 12 months ago
activate_prompt.tmpl Refactor "user/active" related logic (#29390) 1 year ago
captcha.tmpl Move all login and account creation page labels to be above inputs (#29432) 12 months ago
change_passwd.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
change_passwd_inner.tmpl Move all login and account creation page labels to be above inputs (#29432) 12 months ago
finalize_openid.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 1 year ago
forgot_passwd.tmpl Move all login and account creation page labels to be above inputs (#29432) 12 months ago
grant.tmpl Return `access_denied` error when an OAuth2 request is denied (#30974) 9 months ago
grant_error.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
link_account.tmpl Improve oauth2 client "preferred username field" logic and the error handling (#30622) 10 months ago
oidc_wellknown.tmpl Refactor more code in templates (#29236) 1 year ago
prohibit_login.tmpl Move all login and account creation page labels to be above inputs (#29432) 12 months ago
reset_passwd.tmpl Remove unnecessary ".Link" usages (#29929) 11 months ago
signin.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
signin_inner.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
signin_navbar.tmpl Introduce `.secondary-nav` and handle `.page-content` spacing universally (#29982) 11 months ago
signin_openid.tmpl Move all login and account creation page labels to be above inputs (#29432) 12 months ago
signup.tmpl Show OpenID Connect and OAuth on signup page (#20242) 1 year ago
signup_inner.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
signup_openid_connect.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
signup_openid_navbar.tmpl Introduce `.secondary-nav` and handle `.page-content` spacing universally (#29982) 11 months ago
signup_openid_register.tmpl Move all login and account creation page labels to be above inputs (#29432) 12 months ago
twofa.tmpl Move all login and account creation page labels to be above inputs (#29432) 12 months ago
twofa_scratch.tmpl Move all login and account creation page labels to be above inputs (#29432) 12 months ago
webauthn.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
webauthn_error.tmpl Migrate `gt-hidden` to `tw-hidden` (#30046) 11 months ago