Devise token_authenticatable deprecated, what is the alternative?

后端 未结 5 1992
逝去的感伤
逝去的感伤 2020-12-12 14:52

I have been using token_authenticatable before to secure my API, however, I have found that it was deprecated? What should I use instead and why did they deprec

5条回答
  •  再見小時候
    2020-12-12 15:14

    I've been using the devise_token_auth gem which is one of the alternatives listed in the Devise wiki page for token authentication.

    I don't know if it's now the de-facto standard for Devise token auth or not but it's definitely my go-to.

提交回复
热议问题