0

I am using devise and devise_jwt for token authentication. So when the token is expired it gives me an error

{"errors": "Signature has expired"}

but I want to customize this error to

{"errors": "Need to login again"}

Is this possible to customize the error?

Thanks in advance

PalMaxone
  • 32
  • 8

0 Answers0