Skip to content
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_token_auth without OmniAuth authentication #60

Closed
edgarhenriquez opened this issue Oct 30, 2014 · 5 comments
Closed

Devise_token_auth without OmniAuth authentication #60

edgarhenriquez opened this issue Oct 30, 2014 · 5 comments

Comments

@edgarhenriquez
Copy link
Contributor

Hi. I’m not sure if I missed something, but I couldn’t find a way to set up devise_token_auth to work without using OmniAuth. I mean, is it possible to use devise_token_auth using only email authentication?

So far I’ve installed the gem, ran the rails g devise_token_auth:install Agent /auth command and added the mount_devise_token_auth_for 'Agent', at: '/auth' to config/routes.rb, but I got the following after doing a rake routes:

Could not load 'omniauth'. Please ensure you have the omniauth gem >= 1.0.0 installed and listed in your Gemfile.
rake aborted!
LoadError: cannot load such file -- omniauth

Thanks

I’m using Rails 4.16 with devise_token_auth 0.1.29.

@lynndylanhurley
Copy link
Owner

@edgarhenriquez - it should be possible. I'll look into this, thanks.

@sahilsk
Copy link

sahilsk commented Nov 13, 2014

same here :(

@ckrailo
Copy link

ckrailo commented Nov 13, 2014

Count me in on the "want to use by regular email/password" auth crowd. 👍

@SingleShot
Copy link

Ditto.

@lynndylanhurley
Copy link
Owner

Version 0.1.31.beta1 includes support for excluding modules. Documentation is here. Please check it out and confirm that everything works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants