3 ms·
Ask HN: How do you authenticate your React front-end with your Rails API?
Personally, I've used devise_token_auth[1] and j-toker[2] for jQuery. I've also messed around with Auth0 for fun, but is there a better way you do it?
[1]: https://github.com/lynndylanhurley/devise_token_auth
[2]: https://github.com/lynndylanhurley/j-toker
- colept 9y agoI have only great things to say about: https://github.com/nsarno/knock https://github.com/nsarno/knock
- chill5018 9y agoI just used Devise auth token recently with my app. It works well. https://github.com/lynndylanhurley/devise_token_auth https://github.com/lynndylanhurley/devise_token_auth