Jeremy Guijt
03/25/2020, 8:26 AMuserId
is missing then I would like to have a response saying "Claim 'userId' is missing". I don't think it's currently possible in Ktor and I would like to add it to Ktor.
Can any of you offer some insight in whether (a) this is a good feature and (b) how I would go about adding this?
The Java library that parses the JWT returns useful information in an exception, but this information is then discarded and an empty UnauthorizedResponse is sent. I think the solution is to add this information to the UnauthorizedResponse as a response body.Shawn
03/25/2020, 4:19 PMCasey Brooks
03/25/2020, 4:20 PMShawn
03/25/2020, 4:20 PM