Skip to content

How To: Simple Token Authentication Example

Lynn Dylan Hurley edited this page Feb 2, 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

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