[JWT] Support for ShowPII property

Forge Component
(8)
Published on 2018-10-10 by João Almeida
8 votes
Published on 2018-10-10 by João Almeida

If my token fails to validate the message returned contains [PII is hidden] for some of the info such as dates and times if the token is expired.  I was able to get around this by adding Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII = true; to the MssReadToken method in the JWT_Core extension.  Could you add a parameter to ReadToken allow the user to set if they want to ShowPII or not?  

Thanks,

Greg