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
techknowlogick 5bb8d1924d
Support SAML authentication (#25165)
Closes https://github.com/go-gitea/gitea/issues/5512

This PR adds basic SAML support
- Adds SAML 2.0 as an auth source
- Adds SAML configuration documentation
- Adds integration test:
- Use bare-bones SAML IdP to test protocol flow and test account is
linked successfully (only runs on Postgres by default)
- Adds documentation for configuring and running SAML integration test
locally

Future PRs:
- Support group mapping
- Support auto-registration (account linking)

Co-Authored-By: @jackHay22

---------

Co-authored-by: jackHay22 <jack@allspice.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: morphelinho <morphelinho@users.noreply.github.com>
Co-authored-by: Zettat123 <zettat123@gmail.com>
Co-authored-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
12 months ago
..
activate.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 12 months ago
captcha.tmpl Move the captcha script loader to the template which really needs it (#28718) 1 year ago
change_passwd.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
change_passwd_inner.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
finalize_openid.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 12 months ago
forgot_passwd.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 12 months ago
grant.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 12 months ago
grant_error.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
link_account.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
oidc_wellknown.tmpl Refactor more code in templates (#29236) 12 months ago
prohibit_login.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
reset_passwd.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 12 months ago
signin.tmpl Add main landmark to templates and adjust titles (#22670) 2 years ago
signin_inner.tmpl Support SAML authentication (#25165) 12 months ago
signin_navbar.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
signin_openid.tmpl Revert #28753 because UI broken. (#29293) 12 months ago
signup.tmpl Show OpenID Connect and OAuth on signup page (#20242) 1 year ago
signup_inner.tmpl Revert #28753 because UI broken. (#29293) 12 months ago
signup_openid_connect.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
signup_openid_navbar.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
signup_openid_register.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
twofa.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 12 months ago
twofa_scratch.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
webauthn.tmpl Don't show Link to TOTP if not set up (#27585) 1 year ago
webauthn_error.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago