Skip to main content

Subscribe to GoRails to get access to this episode and all other pro episodes, and new awesome content every month.

Subscribe Now
Only $19/month

Unlimited access. Cancel anytime.

15 JSON Web Tokens with Devise & Warden

Episode 167 · January 10, 2017

Add a Warden strategy to Devise to support JWT authentication with your Rails app

Authentication APIs


Resources

You can login the user with warden and not set cookies by adding store: false to what we used in the episode to login the user:

sign_in(user, store: false)

https://github.com/plataformatec/devise/blob/88724e10adaf9ffd1d8dbfbaadda2b9d40de756a/lib/devise/controllers/sign_in_out.rb#L23


No transcripts available. Earn a free month

Discussion