Using auth_token from request headers instead from POST/PUT parameters with Rails 3 / devise

前端 未结 4 980
长情又很酷
长情又很酷 2021-01-30 18:18

I need to use token based authentication in a Rails 3.1 API in conjunction with the most recent version of devise. No problem so far.

Now I do not want to append my :au

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-30 18:44

    I'm using a custom "strategy" for this: https://gist.github.com/4492569

提交回复
热议问题