Devise alternative for API based authentication?

Hi,
As token_authenticatable is completely removed from Devise, there’s no
way
to use it for API based authentication system.
What would be a best solution for rails 4 api based application ?

-rax

On Saturday, September 14, 2013 8:30:08 AM UTC-5, Rakshit Majithiya
wrote:

Hi,
As token_authenticatable is completely removed from Devise, there’s no
way to use it for API based authentication system.
What would be a best solution for rails 4 api based application ?

-rax

Hi Rax,

You can write your own as discussed on the Devise Blog under Token
Authenticatable:
http://blog.plataformatec.com.br/2013/08/devise-3-1-now-with-more-secure-defaults/.
It’s not hard to do. I had one up and running in about 1 hour with one
of
the projects I’m working on.

Thanks,
Bryan

Have a look at Doorkeeper + Oauth2 + Devise, this is what I am using for
API authentication

Le samedi 14 septembre 2013 15:30:08 UTC+2, Rakshit Majithiya a crit :

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs