-
Notifications
You must be signed in to change notification settings - Fork 157
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
Double sign_out and undefined method 'email' error #219
Comments
This does seem pretty weird. It's as if OneLogin redirected back to your logout path. How did you log out? Was there a button in your application? |
We see similar:
|
Simplest fix is likely just
|
I got the same issue and in our test cases i found out that I created a pull request to solve this issue: #260 |
I am using devise_saml_authenticatable to authenticate users with OneLogin as the idp. I am getting an error, undefined method 'email' for nil:Nil class after the sign_out request is repeated.
The sign_out sequence is:
In my model User, the included devise modules are:
The devise saml configuration I have is
==> Configuration for :saml_authenticatable
I do not have any logout route specified in routes.rb.
The text was updated successfully, but these errors were encountered: