-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Labels
enhancementNew feature or requestNew feature or requestenhancement/confirmedEnhancements that will be implemented in the futureEnhancements that will be implemented in the future
Milestone
Description
Issue
Logout redirect using URL next OR post_logout_redirect_uri parameter not working as expected, should send user to the URL in the parameter. Please advise?
Doing the following...
Authentik > Flows and Stages > Flow
- configure default-invalidation-flow
- denied action: CONTINUE
html/js client has set the logoutEndpoint by doing:
const baseLogoutUrl = "https://auth.example.com/application/o/test/end-session/";
const redirectUrl = "https://test.example.com/session-ended";
const logoutEndpoint = `${baseLogoutUrl}?post_logout_redirect_uri=${encodeURIComponent(redirectUrl)}`;
Then logout, which directs to:
https://auth.example.com/if/session-end/hub/?next=https%3A%2F%2Ftest.example.com%2Fsession-ended?id_token_hint=.....&post_logout_redirect_uri=https%3A%2F%2Ftext.example.com
Which displays
Authentik has a screen "You've logged out of Test.
- Go back to overview
- Log out of Company
- Log back into Test
also tried:
const logoutEndpoint = `${baseLogoutUrl}?next=${encodeURIComponent(redirectUrl)}`;
and
const logoutEndpoint = `${baseLogoutUrl}?next=${encodeURIComponent(redirectUrl)}&post_logout_redirect_uri=${encodeURIComponent(redirectUrl)}`;
Expected behavior
Log out should redirect to test.example.com instead of the Authentik page "You've logged out of Test.
Version and Deployment (please complete the following information):
- authentik version: 24.6.0
- Deployment: docker-compose
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestenhancement/confirmedEnhancements that will be implemented in the futureEnhancements that will be implemented in the future
Type
Projects
Status
In review