cybertooth-io / ermahgerd-rails-api-jwt

Rails 5+ API, JWT_Session, Pundit, JSONAPI, Sidekiq, PostgreSQL.
0 stars 0 forks source link

What To Do? - Invalidating A Missing Or Already Invalidated Session #4

Closed nadnoslen closed 5 years ago

nadnoslen commented 5 years ago

Right now this simply raises a JWTSessions::Errors::Unauthorized

_Originally posted by @nadnoslen in https://github.com/cybertooth-io/cppdist-com-rails/pull/3/review_comment/create_

nadnoslen commented 5 years ago

Brad voted that we 422 UNPROCESSIBLE entity this one

nadnoslen commented 5 years ago

This has been set to return a 404 NOT_FOUND which actually made more sense while I was implementing it.