-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
After login via SAML, Bookstack redirects to home page instead of original URL #2552
Comments
Same issues here on 31.6, its a minor issue but would be great to see this fixed. |
We are having this issue as well and it's quite an inefficient process. Would love to see this get resolved ASAP! |
Please fix! It's a minor issue but greatly affects user experience and usability for things like bookmarks. |
After reading up a bit on this, it looks like most implementations make use of the RelayState mechanism to redirect back to the originally requested URL. Is this something that could be added to Bookstacks implementation? |
Running into this as well. Definitely a minor issue, but one that causes friction and hurts adoption for our users. |
Our business has users request this to support about monthly, it's definitely becoming a headache for people as we get more using this wonderful tool! |
Bump, not a php developer but this could be solved with a "next" url parameter. Users who are not logged in are redirected to the login page with the previous page's relative url set in the "next" url parameter. After login, if the "next" url parameter exists the user is redirected there. If it does not, the user is sent to the "home" page. |
I'm having the same problem, can someone provide a workaround? |
This is due to the session being lost upon redirection from the idp due to it being a POST request while BookStack session cookies are Maybe we need to introduce a level of redirect loop via get request but the SAML toolkit does run against the current request which can complicate things. Assigned to be looked into for the next release. |
Addressed within #2996. Will be part of the next feature release. |
Describe the bug
We recently implemented SAML/SSO for our Bookstack environment and authentication works great except for one issue. If an unauthenticated user tries to navigate directly to an inner Bookstack page, they get redirected to the login page. They click Login With SSO. After authenticating, they are redirected to our Bookstack home page instead of the originally requested URL. Users than have to go back click/type in their original URL.
Steps To Reproduce
In an environment using SAML/SSO for authentication:
Expected behavior
We would expect to be redirected to the originally requested page after authenticating with SAML/SSO
Your Configuration (please complete the following information):
Additional context
IDP is Azure AD
The text was updated successfully, but these errors were encountered: