Rails API : Best way to implement authentication?

前端 未结 4 1911
清酒与你
清酒与你 2020-12-12 17:35

I\'m writing a Rails 4 app that will expose an API for a mobile app that\'s yet to be developed. Users will authenticate using an e-mail and password from the mobile app.

4条回答
  •  伪装坚强ぢ
    2020-12-12 18:35

    Tiddle gem provides Devise strategy for token authentication in API-only Ruby on Rails applications. Its main feature is support for multiple tokens per user.

    https://github.com/adamniedzielski/tiddle

提交回复
热议问题