0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 22:55:17 +01:00
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>
2024-02-23 00:08:17 +00:00
..
activate.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 2024-02-22 18:05:47 +00:00
captcha.tmpl Move the captcha script loader to the template which really needs it (#28718) 2024-01-07 15:41:46 +00:00
change_passwd.tmpl
change_passwd_inner.tmpl
finalize_openid.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 2024-02-22 18:05:47 +00:00
forgot_passwd.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 2024-02-22 18:05:47 +00:00
grant.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 2024-02-22 18:05:47 +00:00
grant_error.tmpl
link_account.tmpl
oidc_wellknown.tmpl Refactor more code in templates (#29236) 2024-02-18 10:52:02 +01:00
prohibit_login.tmpl
reset_passwd.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 2024-02-22 18:05:47 +00:00
signin.tmpl
signin_inner.tmpl Support SAML authentication (#25165) 2024-02-23 00:08:17 +00:00
signin_navbar.tmpl
signin_openid.tmpl Revert #28753 because UI broken. (#29293) 2024-02-21 22:14:37 +08:00
signup.tmpl
signup_inner.tmpl Revert #28753 because UI broken. (#29293) 2024-02-21 22:14:37 +08:00
signup_openid_connect.tmpl
signup_openid_navbar.tmpl
signup_openid_register.tmpl
twofa.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 2024-02-22 18:05:47 +00:00
twofa_scratch.tmpl
webauthn.tmpl
webauthn_error.tmpl