devise-auth0 icon indicating copy to clipboard operation
devise-auth0 copied to clipboard

Documentation instructions are not working as expected

Open Znow opened this issue 7 years ago • 2 comments

config.client_id or config.secret is not available to set.

Znow avatar Nov 28 '17 16:11 Znow

This looks right, but I don't know if this gem works anymore.

manager.strategies.add(:auth0_authenticatable, Devise::Strategies::Auth0Authenticatable) do |auth0|
  auth0.config.client_id = 'client_id'
  auth0.config.secret = 'secret'
end

khall avatar Mar 23 '18 18:03 khall

For anyone coming across this in the future: You'll want to be using Omniauth for this instead. Omniauth is the standard for any kind of "Login with..." type functionality you need for Devise (though it can be used without Devise).

https://github.com/auth0/omniauth-auth0 https://github.com/omniauth/omniauth

MyklClason avatar Dec 23 '23 06:12 MyklClason