-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
fix(auth): preserve redirect URL after logout #53023
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Christoph Wurst <[email protected]>
It reads like you mixed up words. Don't you mean it like this? 🤔
|
Correct. My bad. |
It does not work completely. But this might be a valuable lead to the solution of another problem we are currently facing and you probably remember: the mismatching status token (@mpivchev might care). I do exactly as the instructions say and then I end up at the error page which states exactly that. ScreenRecording.mp4Setup
|
Cool, I'll have a look at that |
Found a case where login is not an issue. Digging deeper. |
@ChristophWurst How can the fix for the redirect URL preservation proceed? I just ran into this myself moments ago with our corporate instance. I would suggest to decouple the state token issue into a different pull request. |
There is nothing specific to state tokens in this PR. It handles redirect URLs generically for logout. |
I was not referring to the state tokens but the retention of the redirect URL. This is a valid fix for a confirmed (other) problem. Hence the question: why wait for the state token affair? |
Yes, true |
Summary
Preserve the redirect URL. This is mostly helpful for the client login flow.
How to test
/apps/files
-> you get redirected to loginmaster: you see the dashboard (default app)
here: you see the files app
TODO
Checklist