mirror of
https://github.com/go-gitea/gitea.git
synced 2026-03-11 10:18:23 +01:00
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> |
||
|---|---|---|
| .. | ||
| assert_interface_test.go | ||
| init.go | ||
| main_test.go | ||
| providers_base.go | ||
| providers_custom.go | ||
| providers_openid.go | ||
| providers_simple.go | ||
| providers_test.go | ||
| providers.go | ||
| source_authenticate.go | ||
| source_callout.go | ||
| source_name.go | ||
| source_register.go | ||
| source_sync_test.go | ||
| source_sync.go | ||
| source.go | ||
| store.go | ||
| urlmapping.go | ||