Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect after timeout logout #99

Open
danielstieber opened this issue Sep 16, 2024 · 0 comments
Open

Redirect after timeout logout #99

danielstieber opened this issue Sep 16, 2024 · 0 comments

Comments

@danielstieber
Copy link

danielstieber commented Sep 16, 2024

Hey, I intend to logout users via SLO when the session is timed out. I'm testing with OneLogin, but need to work with other providers as well.

I log the user out via redirecting to route saml.logout when the session is over. That basically works, so far so good.
But the redirect always brings me to the normal SSO Login and then to the OneLogin Dashboard.

I actually want the user to be logged out via SLO and then being redirected to /saml2/xxx/login ., so when he logs back in, he is back in the app, maybe even with a redirectTo to his last position.

I've tried filling the relay state url in the DB. If I use the smal2/xx/login url, then I'm in an endless loop. If I fill out any other url, then I'm getting there and am logged back in without ever being logged out at IdP(?)

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant