Skip to content

How To: Simple Token Authentication Example

Daniel Gatis Carrazzoni edited this page Sep 2, 2016 · 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/

Clone this wiki locally