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/services/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
..
source Support SAML authentication (#25165) 12 months ago
auth.go Unify user update methods (#28733) 1 year ago
auth_test.go Fix attachment download bug (#27486) 1 year ago
auth_token.go Enhanced auth token / remember me (#27606) 1 year ago
auth_token_test.go Refactor timeutil package (#28623) 1 year ago
basic.go Unify two factor check (#27915) 1 year ago
group.go Remove `Named` interface (#26913) 1 year ago
httpsign.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
interface.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
main_test.go Enhanced auth token / remember me (#27606) 1 year ago
oauth2.go Deprecate query string auth tokens (#28390) 1 year ago
reverseproxy.go Fix attachment download bug (#27486) 1 year ago
session.go Replace more db.DefaultContext (#27628) 1 year ago
signin.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
source.go Final round of `db.DefaultContext` refactor (#27587) 1 year ago
sspi.go Fix SSPI user creation (#28948) 1 year ago
sspiauth_posix.go Make SSPI auth mockable (#27036) 1 year ago
sspiauth_windows.go Make SSPI auth mockable (#27036) 1 year ago
sync.go Use db.Find instead of writing methods for every object (#28084) 1 year ago