Extending Devise SessionsController to authenticate using JSON

后端 未结 7 1322
面向向阳花
面向向阳花 2020-12-04 05:14

I am trying to build a rails API for an iphone app. Devise works fine for logins through the web interface but I need to be able to create and destroy sessions using REST AP

7条回答
  •  情歌与酒
    2020-12-04 06:11

    A recent answer here: http://jessehowarth.com/devise has some more detail (per Using Devise 1.3 to authenticate JSON login requests)

提交回复
热议问题