Reduce string allocations by comparing issuers in-place #716
Annotations
10 errors
Run the tests:
test/Microsoft.IdentityModel.TestUtils/TestUtilities.cs#L379
Microsoft.IdentityModel.TestUtils.TestUtilities.AssertFailIfErrors(String testId, List`1 errors) Microsoft.IdentityModel.TestUtils.TestException : Microsoft.IdentityModel.Validators.Tests.AadSigningKeyIssuerValidatorTests.ValidateIssuerSigningKeyTests : HappyPath_TokenIssuer_Matches_SigningKeyIssuer exception != null, expectedException.TypeExpected == null. exception: Microsoft.IdentityModel.Tokens.SecurityTokenInvalidIssuerException: IDX40005: Token issuer: 'https://login.microsoftonline.com/f645ad92-e38d-4d1a-b510-d1b09a74a8ca/v2.0', does not match the signing key issuer: 'https://login.microsoftonline.com/{tenantid}/v2.0'. at Microsoft.IdentityModel.Validators.AadTokenValidationParametersExtension.ValidateIssuerSigningKey(SecurityKey securityKey, SecurityToken securityToken, BaseConfiguration configuration) in D:\a\azure-activedirectory-identitymodel-extensions-for-dotnet\azure-activedirectory-identitymodel-extensions-for-dotnet\src\Microsoft.IdentityModel.Validators\AadTokenValidationParametersExtension.cs:line 93 at Microsoft.IdentityModel.Validators.Tests.AadSig
|
Run the tests:
src/Microsoft.IdentityModel.Validators/AadIssuerValidator/AadIssuerValidator.cs#L283
Microsoft.IdentityModel.Validators.AadIssuerValidator.ValidateAsync(String issuer, SecurityToken securityToken, TokenValidationParameters validationParameters) Microsoft.IdentityModel.Tokens.SecurityTokenInvalidIssuerException : IDX40001: Issuer: 'https://login.microsoftonline.com/f645ad92-e38d-4d1a-b510-d1b09a74a8ca/v1.1', does not match any of the valid issuers provided for this application.
|
Run the tests:
test/Microsoft.IdentityModel.TestUtils/TestUtilities.cs#L379
Microsoft.IdentityModel.TestUtils.TestUtilities.AssertFailIfErrors(String testId, List`1 errors) Microsoft.IdentityModel.TestUtils.TestException : Microsoft.IdentityModel.Validators.Tests.AadSigningKeyIssuerValidatorTests.ValidateIssuerSigningKeyTests : HappyPath_TokenIssuer_Matches_SigningKeyIssuer exception != null, expectedException.TypeExpected == null. exception: Microsoft.IdentityModel.Tokens.SecurityTokenInvalidIssuerException: IDX40005: Token issuer: 'https://login.microsoftonline.com/f645ad92-e38d-4d1a-b510-d1b09a74a8ca/v2.0', does not match the signing key issuer: 'https://login.microsoftonline.com/{tenantid}/v2.0'. at Microsoft.IdentityModel.Validators.AadTokenValidationParametersExtension.ValidateIssuerSigningKey(SecurityKey securityKey, SecurityToken securityToken, BaseConfiguration configuration) in D:\a\azure-activedirectory-identitymodel-extensions-for-dotnet\azure-activedirectory-identitymodel-extensions-for-dotnet\src\Microsoft.IdentityModel.Validators\AadTokenValidationParametersExtension.cs:line 93 at Microsoft.IdentityModel.Validators.Tests.AadSig
|
Run the tests:
src/Microsoft.IdentityModel.Validators/AadIssuerValidator/AadIssuerValidator.cs#L283
Microsoft.IdentityModel.Validators.AadIssuerValidator.ValidateAsync(String issuer, SecurityToken securityToken, TokenValidationParameters validationParameters) Microsoft.IdentityModel.Tokens.SecurityTokenInvalidIssuerException : IDX40001: Issuer: 'https://login.microsoftonline.com/f645ad92-e38d-4d1a-b510-d1b09a74a8ca/v2.0', does not match any of the valid issuers provided for this application.
|
Run the tests:
src/Microsoft.IdentityModel.Validators/AadIssuerValidator/AadIssuerValidator.cs#L283
Microsoft.IdentityModel.Validators.AadIssuerValidator.ValidateAsync(String issuer, SecurityToken securityToken, TokenValidationParameters validationParameters) Microsoft.IdentityModel.Tokens.SecurityTokenInvalidIssuerException : IDX40001: Issuer: 'https://login.microsoftonline.com/f645ad92-e38d-4d1a-b510-d1b09a74a8ca/v2.0', does not match any of the valid issuers provided for this application.
|
Run the tests:
src/Microsoft.IdentityModel.Validators/AadIssuerValidator/AadIssuerValidator.cs#L283
Microsoft.IdentityModel.Validators.AadIssuerValidator.ValidateAsync(String issuer, SecurityToken securityToken, TokenValidationParameters validationParameters) Microsoft.IdentityModel.Tokens.SecurityTokenInvalidIssuerException : IDX40001: Issuer: 'https://sts.windows.net/f645ad92-e38d-4d1a-b510-d1b09a74a8ca/', does not match any of the valid issuers provided for this application.
|
Run the tests:
src/Microsoft.IdentityModel.Validators/AadIssuerValidator/AadIssuerValidator.cs#L283
Microsoft.IdentityModel.Validators.AadIssuerValidator.ValidateAsync(String issuer, SecurityToken securityToken, TokenValidationParameters validationParameters) Microsoft.IdentityModel.Tokens.SecurityTokenInvalidIssuerException : IDX40001: Issuer: 'https://login.microsoftonline.com/f645ad92-e38d-4d1a-b510-d1b09a74a8ca/v1.1', does not match any of the valid issuers provided for this application.
|
Run the tests:
src/Microsoft.IdentityModel.Validators/AadIssuerValidator/AadIssuerValidator.cs#L283
Microsoft.IdentityModel.Validators.AadIssuerValidator.ValidateAsync(String issuer, SecurityToken securityToken, TokenValidationParameters validationParameters) Microsoft.IdentityModel.Tokens.SecurityTokenInvalidIssuerException : IDX40001: Issuer: 'https://sts.windows.net/f645ad92-e38d-4d1a-b510-d1b09a74a8ca/', does not match any of the valid issuers provided for this application.
|
Run the tests:
src/Microsoft.IdentityModel.Validators/AadIssuerValidator/AadIssuerValidator.cs#L283
Microsoft.IdentityModel.Validators.AadIssuerValidator.ValidateAsync(String issuer, SecurityToken securityToken, TokenValidationParameters validationParameters) Microsoft.IdentityModel.Tokens.SecurityTokenInvalidIssuerException : IDX40001: Issuer: 'https://login.microsoftonline.com/f645ad92-e38d-4d1a-b510-d1b09a74a8ca/v2.0', does not match any of the valid issuers provided for this application.
|
Run the tests:
src/Microsoft.IdentityModel.Validators/AadIssuerValidator/AadIssuerValidator.cs#L283
Microsoft.IdentityModel.Validators.AadIssuerValidator.ValidateAsync(String issuer, SecurityToken securityToken, TokenValidationParameters validationParameters) Microsoft.IdentityModel.Tokens.SecurityTokenInvalidIssuerException : IDX40001: Issuer: 'https://sts.windows.net/f645ad92-e38d-4d1a-b510-d1b09a74a8ca/', does not match any of the valid issuers provided for this application.
|
Loading