cybertooth-io / ermahgerd-rails-api-jwt

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

Table To Record Refresh Attempts #22

Open nadnoslen opened 6 years ago

nadnoslen commented 6 years ago

It would be ideal to create a worker that tracks the success or failure of refresh tokens. On malicious refresh attempts, we should also find the Session from the supplied RUID and mark it as invalidated.