Ruby on Rails Monday, September 16, 2013

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 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/03f0d19b-d2de-4e56-8be5-6fbbddd2f90c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment