Add audiences to security token descriptor #789
dotnetcore.yml
on: pull_request
Wilson GitHub Action Test
7m 57s
Annotations
10 errors
Wilson GitHub Action Test:
test/Microsoft.IdentityModel.TestUtils/TestUtilities.cs#L379
Microsoft.IdentityModel.JsonWebTokens.Tests.JsonWebTokenHandlerTests.CreateJWSUsingSecurityTokenDescriptor(theoryData: UseSecurityTokenDescriptorProperties, NoExceptionExpected): Microsoft.IdentityModel.TestUtils.TestUtilities.AssertFailIfErrors(String testId, List`1 errors) Microsoft.IdentityModel.TestUtils.TestException : Microsoft.IdentityModel.JsonWebTokens.Tests.JsonWebTokenHandlerTests.CreateJWSUsingSecurityTokenDescriptor : UseSecurityTokenDescriptorProperties bool1 != bool2 'False' != 'True' numMatched != numToMatch: 8, 9 Claims1 NOT Matched: aud: http://Default.Audience.com: http://www.w3.org/2001/XMLSchema#string: Issuer: Issuer Claims2 NOT Matched: aud: Audience: http://www.w3.org/2001/XMLSchema#string: Issuer: Issuer Claims Matched: iss: Issuer: http://www.w3.org/2001/XMLSchema#string: Issuer: Issuer exp: 1679078017: http://www.w3.org/2001/XMLSchema#integer64: Issuer: Issuer iat: 1521311617: http://www.w3.org/2001/XMLSchema#integer64: Issuer: Issuer nbf: 2152463617: http://www.w3.org/2001/XMLSchema#integer64: Issuer: Issuer azp: http://Default.Azp.com: http://www.w3.org/2001/XMLSchema#string: Issuer: Issuer email: Bob@contoso.com: http://www.w3.org/2001/XMLSchema#string: Issuer: Issuer given_name: Bob: http://
|
Wilson GitHub Action Test:
test/Microsoft.IdentityModel.TestUtils/TestUtilities.cs#L379
Microsoft.IdentityModel.JsonWebTokens.Tests.JsonWebTokenHandlerTests.CreateJWSWithSecurityTokenDescriptorClaims(theoryData: AllValuesFromSTD, NoExceptionExpected): Microsoft.IdentityModel.TestUtils.TestUtilities.AssertFailIfErrors(String testId, List`1 errors) Microsoft.IdentityModel.TestUtils.TestException : Microsoft.IdentityModel.JsonWebTokens.Tests.JsonWebTokenHandlerTests.CreateJWSWithSecurityTokenDescriptorClaims : AllValuesFromSTD
|
Wilson GitHub Action Test:
test/Microsoft.IdentityModel.TestUtils/TestUtilities.cs#L379
str1 != str2, StringComparison: 'Ordinal'
|
Wilson GitHub Action Test:
test/Microsoft.IdentityModel.TestUtils/TestUtilities.cs#L379
503b8ca3-f5ed-49f0-aa9a-8a25616e8656
|
|
Wilson GitHub Action Test:
test/Microsoft.IdentityModel.TestUtils/TestUtilities.cs#L379
3d0fa7f4-258f-4424-ba7a-f2e9812a0d5d
|
Wilson GitHub Action Test:
test/Microsoft.IdentityModel.TestUtils/TestUtilities.cs#L379
Microsoft.IdentityModel.JsonWebTokens.Tests.JsonWebTokenHandlerTests.CreateJWEUsingSecurityTokenDescriptor(theoryData: SecurityTokenDescriptorMultipleAudiences, NoExceptionExpected): Microsoft.IdentityModel.TestUtils.TestUtilities.AssertFailIfErrors(String testId, List`1 errors) Microsoft.IdentityModel.TestUtils.TestException : Microsoft.IdentityModel.JsonWebTokens.Tests.JsonWebTokenHandlerTests.CreateJWEUsingSecurityTokenDescriptor : SecurityTokenDescriptorMultipleAudiences CompareAllPublicProperties: Microsoft.IdentityModel.JsonWebTokens.JsonWebToken InnerToken: CompareAllPublicProperties: Microsoft.IdentityModel.JsonWebTokens.JsonWebToken EncodedPayload: str1 != str2, StringComparison: 'Ordinal' eyJhdWQiOlsiaHR0cDovL0RlZmF1bHQuQXVkaWVuY2UuY29tIiwiaHR0cDovL0RlZmF1bHQuQXVkaWVuY2UxLmNvbSIsImh0dHA6Ly9EZWZhdWx0LkF1ZGllbmNlMi5jb20iLCJodHRwOi8vRGVmYXVsdC5BdWRpZW5jZTMuY29tIiwiaHR0cDovL0RlZmF1bHQuQXVkaWVuY2U0LmNvbSJdLCJhdWQiOlsiaHR0cDovL0RlZmF1bHQuQXVkaWVuY2UuY29tIiwiaHR0cDovL0RlZmF1bHQuQXVkaWVuY2UxLmNvbSIsImh0dHA6Ly9EZWZhdWx0LkF1ZGllbmNlMi5jb20iLCJodHRwOi8vRGVmYXVsdC5BdWRpZW5jZTMuY29tIiwiaHR0cDovL0RlZmF1bHQuQXVkaWVuY2U0LmNvbSJdLCJhenAiOiJodHRwOi8vRGVmYXVsdC5BenAuY29tIiwiZW1haWwiOiJCb2JAY29udG9zby5jb20iLCJleHAiOiIyNTM0MDIzMDA3OTkiLCJnaXZlbl9uYW1lIjoiQm9iIi
|
Wilson GitHub Action Test:
test/Microsoft.IdentityModel.TestUtils/TestUtilities.cs#L379
Microsoft.IdentityModel.JsonWebTokens.Tests.JsonWebTokenHandlerTests.CreateJWEUsingSecurityTokenDescriptor(theoryData: UseSecurityTokenDescriptorProperties, NoExceptionExpected): Microsoft.IdentityModel.TestUtils.TestUtilities.AssertFailIfErrors(String testId, List`1 errors) Microsoft.IdentityModel.TestUtils.TestException : Microsoft.IdentityModel.JsonWebTokens.Tests.JsonWebTokenHandlerTests.CreateJWEUsingSecurityTokenDescriptor : UseSecurityTokenDescriptorProperties bool1 != bool2 'False' != 'True' Microsoft.IdentityModel.JsonWebTokens.JsonWebToken: 'null', '***
|
Wilson GitHub Action Test:
test/Microsoft.IdentityModel.TestUtils/TestUtilities.cs#L379
Microsoft.IdentityModel.JsonWebTokens.Tests.JsonWebTokenHandlerTests.CreateJWSUsingSecurityTokenDescriptor(theoryData: UseSecurityTokenDescriptorProperties, NoExceptionExpected): Microsoft.IdentityModel.TestUtils.TestUtilities.AssertFailIfErrors(String testId, List`1 errors) Microsoft.IdentityModel.TestUtils.TestException : Microsoft.IdentityModel.JsonWebTokens.Tests.JsonWebTokenHandlerTests.CreateJWSUsingSecurityTokenDescriptor : UseSecurityTokenDescriptorProperties bool1 != bool2 'False' != 'True' numMatched != numToMatch: 8, 9 Claims1 NOT Matched: aud: http://Default.Audience.com: http://www.w3.org/2001/XMLSchema#string: Issuer: Issuer Claims2 NOT Matched: aud: Audience: http://www.w3.org/2001/XMLSchema#string: Issuer: Issuer Claims Matched: iss: Issuer: http://www.w3.org/2001/XMLSchema#string: Issuer: Issuer exp: 1679078017: http://www.w3.org/2001/XMLSchema#integer64: Issuer: Issuer iat: 1521311617: http://www.w3.org/2001/XMLSchema#integer64: Issuer: Issuer nbf: 2152463617: http://www.w3.org/2001/XMLSchema#integer64: Issuer: Issuer azp: http://Default.Azp.com: http://www.w3.org/2001/XMLSchema#string: Issuer: Issuer email: Bob@contoso.com: http://www.w3.org/2001/XMLSchema#string: Issuer: Issuer given_name: Bob: http://
|
Wilson GitHub Action Test:
test/Microsoft.IdentityModel.TestUtils/TestUtilities.cs#L379
Microsoft.IdentityModel.JsonWebTokens.Tests.JsonWebTokenHandlerTests.CreateJWSWithSecurityTokenDescriptorClaims(theoryData: AllValuesFromSTD, NoExceptionExpected): Microsoft.IdentityModel.TestUtils.TestUtilities.AssertFailIfErrors(String testId, List`1 errors) Microsoft.IdentityModel.TestUtils.TestException : Microsoft.IdentityModel.JsonWebTokens.Tests.JsonWebTokenHandlerTests.CreateJWSWithSecurityTokenDescriptorClaims : AllValuesFromSTD
|