Save 36% for Black Friday! Learn more

Ján Švehla

Joined

20 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in API TOKEN DEVISE

Thanks for advice, Chris. Afterall I decided to implement my own Token authentization.

Posted in API TOKEN DEVISE

Hello.
I chose the way with devise_token_auth too, but I am having problems with running devise_token_auth and Devise simultaneously. In my routes.rb I have API namespace which I want to be authenticated by devise_token_auth. It often works, but Devise sometimes (randomly) takes control and blocks (401 Unauthorized) my requests.

Did somebody encounter similar issue? I am not yet skilled with Rails and have no idea how to solve it. I am grateful for any advice.

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.