Closed lyra95 closed 2 years ago
a bug fix on token validation
When PasetoTokenValidationParameters is set to ValidateAudience=false and ValidAudience=null, I think the validation should skip and exit early.
PasetoTokenValidationParameters
ValidateAudience=false
ValidAudience=null
Thanks a lot for your contribution, a new version will be available shortly at Nuget.
What is this PR?
a bug fix on token validation
Why need this change?
When
PasetoTokenValidationParameters
is set toValidateAudience=false
andValidAudience=null
, I think the validation should skip and exit early.