Using Rails Session Cookies for API Authentication

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 #api #authentication https://www.rubyonrails.ba/single/using-rails-session-cookies-for-api-authentication

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles