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:
Devise 3.1: Now with more secure defaults « Plataformatec Blog.
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 :