Logout from yarnman logs out of oidc provider #29

Open
opened 2026-07-12 10:09:35 +00:00 by theis · 0 comments
Owner

However, if you also want the reverse — clicking "Logout" in your app to log the user out of Authentik too (RP-initiated logout) — that requires:

Storing the OIDC ID token (we currently discard it after verification)
Adding the Authentik end-session endpoint to the logout flow
Redirecting the browser to {authentik_end_session_endpoint}?id_token_hint={id_token}&post_logout_redirect_uri={app_url}
That's a separate feature if you want it. Currently, your app's logout just clears the local JWT.

However, if you also want the reverse — clicking "Logout" in your app to log the user out of Authentik too (RP-initiated logout) — that requires: Storing the OIDC ID token (we currently discard it after verification) Adding the Authentik end-session endpoint to the logout flow Redirecting the browser to {authentik_end_session_endpoint}?id_token_hint={id_token}&post_logout_redirect_uri={app_url} That's a separate feature if you want it. Currently, your app's logout just clears the local JWT.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
theis/yarnman#29
No description provided.