Using Rails Session Cookies for API Authentication
13-Sep-2018 2319
No part of the web app is rendered by Rails. The Rails app is strictly a JSON API. And the web app is a standalone bundle of HTML, CSS, and JavaScript.Given that the API has protected resources that require authentication, I had a decision to make regarding how best to “log in” users of the web app.
Using Rails Session Cookies for API Authentication #ruby #rubydeveloper #rubyonrails #Using #Rails #Session #Cookies #Authentication #api #authentication https://rubyonrails.ba/link/using-rails-session-cookies-for-api-authentication