[JWT] Support for ShowPII property
Question
Forge component 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

Greg Whitten wrote:

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

  Hi Greg, sorry for the delay. Can you take a look at the latest version of the component?  

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.