Using Devise tokens to log in, is this built in?

前端 未结 3 1160
孤街浪徒
孤街浪徒 2020-12-04 08:41

So, I\'m trying to use tokens with Devise (version 1.0.3 with Rails 2.3.8) to let a user log in, but I\'m not entirely sure where to begin.

http://zyphdesignco.com/b

3条回答
  •  一向
    一向 (楼主)
    2020-12-04 09:44

    see this article: http://www.hyperionreactor.net/blog/token-based-authentication-rails-3-and-rails-2

    Basically all you need is to append the token to your requests and you're automatically authenticated, i.e. localhost:3000/posts.xml?auth_token=the_token

提交回复
热议问题