Commit graph

3 commits

Author SHA1 Message Date
Michael Mayer
50976f427e Auth: Add RP-initiated OIDC logout via PHOTOPRISM_OIDC_LOGOUT #5684 #5433
Sign-out of an OIDC session redirects the browser to the provider's
discovered end_session_endpoint (id_token_hint + absolute
post_logout_redirect_uri) when PHOTOPRISM_OIDC_LOGOUT is enabled, so the
provider SSO session ends and the next login re-prompts. Opt-in (default
off); local/LDAP logout and providers without an end-session endpoint fall
back to local logout.

Adds the shared CE /api/v1/oauth/logout route and OAuthLogoutHandler hook
plus the Portal OP end_session_endpoint advertised in the Portal discovery
document, for Portal builds to serve via the override hook.
2026-06-24 17:21:00 +02:00
Michael Mayer
4a4050e48c OIDC: Refactor config options and add client config for the UI #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-06-26 16:45:14 +02:00
Michael Mayer
c0ea3c79a3 OIDC: Add additional config options and OAuth2 API endpoints #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-06-26 14:05:58 +02:00