[JWT] Support for ShowPII property

Forge Component
(10)
Published on 20 Jul (2 weeks ago) by João Almeida
10 votes
Published on 20 Jul (2 weeks ago) 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?