Skip to content

How To: Simple Token Authentication Example

Geoffrey Roguelon edited this page Jul 28, 2015 · 24 revisions

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/

Other example: https://gist.github.com/danielgatis/5666941

Clone this wiki locally