-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Sign-in after session expired redirects to turbo frame url #5633
Comments
I compiled a couple of solutions; 1. Patch Devise Failure App
2. Create a Custom Failure App
|
I'm experiencing the same issue. The redirect fails silently. I only see in the network tab that the response redirects to the Turbo version, which does not find the matching frames to replace since it's on the login page. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Current behaviour
If a user tries to navigate within a turbo frame after their session expires. They are redirected to the sign-in page. There is some more info in the turbo documentation. After signing in again, the user is redirected to the turbo frame url.
Expected behaviour
After signing in again, the user should be redirected to the last non-turbo frame url or fall back to the root url.
Steps taken
I have tried following the instructions in this wiki article but this still doesn't solve the issue. It appears that the
FailureApp
is storing the location in any case.The text was updated successfully, but these errors were encountered: