Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I built a Rails authenticated API for my react native app using api_guard (https://github.com/Gokul595/api_guard) and it works great. I evaluated a lot of different solutions (knock, devise, jwt_sessions, etc.) and api_guard has the best features out of the box for JWT and easy to set up. If you are thinking about option 2, look into api_guard.
Controller: https://github.com/panter/mykonote/blob/main/app/controllers/users/sessions_controller.rb
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.