Gokul595 / api_guard

JWT authentication solution for Rails APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can still view controller action after sign out

navjeetc opened this issue · comments

Describe the bug
I have configured api_guard and I can sign in fine, get the token and use it to browse a controller action view but after I sign out successfully, I can still go to the same controller action and still view the erb output. I am doing all this in Postman.

Gem version (please complete the following information):

  • Ruby: 2.5.1p57
  • Rails 5.2.2
  • API Guard 0.2.2

Sorry my bad. I had a token validity for 1 day, so the token is still valid as I have not implemented blacklist.