Skip to main content

Devise authentication and API

Rails • Asked by Alex Musayev

I'm working on JSON REST API for an existing Rails application. Authentication is currently implemented with Devise. What could be potential pros and cons of using cookie-based user sessions for API calls as well as web pages?
ges?


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.