-
Notifications
You must be signed in to change notification settings - Fork 161
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
Avoid patching Devise controllers #59
Comments
zedtux
added a commit
to Pharmony/devise_gauth
that referenced
this issue
Jan 19, 2018
…eriskLabs#59) This commit replaces the overriding of the \`Devise::SessionsController\` creation action by the usage of a \`Warden::Manager.after_authentication\`.
zedtux
added a commit
to Pharmony/devise_gauth
that referenced
this issue
Jan 19, 2018
…eriskLabs#59) This commit replaces the overriding of the \`Devise::SessionsController\` creation action by the usage of a \`Warden::Manager.after_authentication\`.
zedtux
added a commit
to Pharmony/devise_gauth
that referenced
this issue
Jan 19, 2018
…eriskLabs#59) This commit replaces the overriding of the \`Devise::SessionsController\` creation action by the usage of a \`Warden::Manager.after_authentication\`.
zedtux
added a commit
to Pharmony/devise_gauth
that referenced
this issue
Jan 19, 2018
…eriskLabs#59) This commit replaces the overriding of the \`Devise::SessionsController\` creation action by the usage of a \`Warden::Manager.after_authentication\`.
zedtux
added a commit
to Pharmony/devise_gauth
that referenced
this issue
Jul 26, 2022
…eriskLabs#59) This commit replaces the overriding of the \`Devise::SessionsController\` creation action by the usage of a \`Warden::Manager.after_authentication\`.
zedtux
added a commit
to Pharmony/devise_gauth
that referenced
this issue
Jul 26, 2022
…eriskLabs#59) (#4) This commit replaces the overriding of the \`Devise::SessionsController\` creation action by the usage of a \`Warden::Manager.after_authentication\`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using this gem with the
devise_fido_usf
gem in order to allow my user to chose a different 2FA option.The expected workflow would be:
Then
But as this gem is patching the
Devise::SessionsController
create
action it is not possible to do it.This gem should use the
Warden::Manager.after_authentication
callback in order to execute its code instead which would allow the above described workflow.The text was updated successfully, but these errors were encountered: