AshakaE

Joined

420 Experience
4 Lessons Completed
0 Questions Solved

Activity

Posted in JSON Web Token Authentication From Scratch Discussion

Not exactly, what you can do is send an expired JWT when the user logs out so it invalidates other actions .

Hi, I was following this tutorial and I got a lot of errors from the authentication. using the curl -v --data command in the terminal returns HTML, but when I comment out the skip_before_action :authenticate_token! in the authentication controller it works like in the video only thing is I have to also comment out 'before_action :authenticate_user!' in the ApiController ...but here you have everything uncommented and it works

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.