Groups
Groups
Sign in
Groups
Groups
Ruby on Rails: Talk
Conversations
About
Send feedback
Help
Devise alternative for API based authentication ?
151 views
Skip to first unread message
Rakshit Majithiya
unread,
Sep 14, 2013, 9:30:08 AM
9/14/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
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
bacrossland
unread,
Sep 16, 2013, 10:22:36 AM
9/16/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
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
Erwin
unread,
Sep 17, 2013, 1:59:04 AM
9/17/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
Have a look at Doorkeeper + Oauth2 + Devise, this is what I am using for API authentication
Reply all
Reply to author
Forward
0 new messages