Identity Server exception – Lifetime validation failed and Unable to decode the header 'System.String' as Base64Url encoded string – Asp.net
When the token is expired or tampered token is passed to call an api in postman, I get exception as mentioned below. Now how to return this as proper response is my concern in asp.net core. Token expired: Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223:…