iOS, rails, devise: How to persist user login (session vs authentication_token)

后端 未结 1 1342
执笔经年
执笔经年 2021-02-11 01:52

I am trying to build an iOS app with rails backend. I have chosen devise as the user authentication and session management system.

Currently I have modified the origina

1条回答
  •  再見小時候
    2021-02-11 02:08

    If your project is only a json backend, it is normally preferred that you use token_authenticatable. JSON is easy and clean to work with and devise lets you set that up quickly and handles it all for you.

    0 讨论(0)
提交回复
热议问题