When there is a JWT issue the error returned will be a HTTP code 200 and the error message won't have any specific error code that can be used to identify the issue without comparing the error message itself (bad idea)
It would be great if a 400 error code could be returned or a specific error type i.e "UNAUTHENTICATED" could be returned to identify this issue
Prerequisites
For more information, see the CONTRIBUTING guide.
Description
When there is a JWT issue the error returned will be a HTTP code 200 and the error message won't have any specific error code that can be used to identify the issue without comparing the error message itself (bad idea)
It would be great if a 400 error code could be returned or a specific error type i.e "UNAUTHENTICATED" could be returned to identify this issue