-
Notifications
You must be signed in to change notification settings - Fork 4
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
Devise + Ember-Simple-Auth broken Sign in system #27
Comments
Close, but no cigar this time. The proper user is being logged in if the parameters matches, but if the params don't, then the previous logged in user is being returned (due to the cookie session not being fully destroyed)... Getting closer I guess. |
Everything is working now except when it comes to dealing with invalid authenticity token issue when following this exact flow:
The fourth step causes the server to respond with 422 due to Invalid authenticity token. However, if you reload the page, the user will be able to sign out.
Perhaps removing Devise new csrf token would help, but this will allow session fixation attacks. |
Problem closed. CSRF authenticity token is skipped fro destroying session without removing devise token change upon login |
Noticed on Checkpoint 8 committed on 3/30/16. Devise sign in always responds with the same user upon signin even if there are other credentials...
Root cause unknown. Ideas to investigate:
The text was updated successfully, but these errors were encountered: