Skip to content

How To: Simple Token Authentication Example

Justus edited this page Mar 26, 2014 · 24 revisions

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

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