1
1
mirror of https://github.com/go-gitea/gitea.git synced 2026-03-11 02:18:21 +01:00
gitea/services/auth/source
Nikita Vakula 649ebeb120
Implements OIDC RP-Initiated Logout (#36724)
At logout time, if the user authenticated via OIDC, we look up the
provider's `end_session_endpoint` (already discovered by Goth from the
OIDC metadata) and redirect there with `client_id` and
`post_logout_redirect_uri`.

Non-OIDC OAuth2 providers (GitHub, GitLab, etc.) are unaffected — they
fall back to local-only logout.

Fix #14270 

---------

Signed-off-by: Nikita Vakula <nikita.vakula@alpsalpine.com>
Co-authored-by: Nikita Vakula <nikita.vakula@alpsalpine.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-03-01 06:28:26 +00:00
..
db Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 2025-04-28 15:31:59 -07:00
ldap Add an option to automatically verify SSH keys from LDAP (#35927) 2025-12-27 12:33:08 +00:00
oauth2 Implements OIDC RP-Initiated Logout (#36724) 2026-03-01 06:28:26 +00:00
pam update golangci-lint to v2.7.0 (#36079) 2025-12-04 09:06:44 +00:00
smtp update golangci-lint to v2.7.0 (#36079) 2025-12-04 09:06:44 +00:00
sspi Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 2025-04-28 15:31:59 -07:00
source_group_sync.go Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00