How To: Simple Token Authentication Example

Daniel Gatis Carrazzoni edited this page Sep 2, 2016 · 14 revisions
Clone this wiki locally

Note: the examples in this page are out of date, TokenAuthenticatable has been removed from Devise. See this gist for alternatives.

Here is a gem that provides token authentication for devise: https://github.com/lynndylanhurley/devise_token_auth

Another gem that provides token authentication for devise: https://github.com/gonzalo-bulnes/simple_token_authentication

Here is a blog post with some quick code snippets and a link to a quick example app on github. http://zyphdesignco.com/blog/simple-auth-token-example-with-devise

And here is another blog post with a detailed example: http://matteomelani.wordpress.com/2011/10/17/authentication-for-mobile-devices/