13 fail, 104 pass in 14s
117 tests 104 ✅ 14s ⏱️
10 suites 0 💤
10 files 13 ❌
Results for commit 6c4ea14.
Annotations
github-actions / auth project test results
GetUser_ExistingUser_ReturnsUser (FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests+GetUser(FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture)) failed
./tests/auth/FinancialHub.Auth.IntegrationTests/TestResults/Results-Integration.xml [took 0s]
Raw output
System.ArgumentOutOfRangeException : IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256', the key size must be greater than: '256' bits, key has '240' bits. (Parameter 'keyBytes') at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
at FinancialHub.Auth.Application.Services.TokenService.GenerateToken(UserModel user) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/TokenService.cs:line 51
at FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture.GetAuthToken(UserModel userModel) in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Setup/FinancialHubAuthApiFixture.auth.cs:line 11
at FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests.GetUser.GetUser_ExistingUser_ReturnsUser() in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Controllers/UsersControllerTests.cs:line 145
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
github-actions / auth project test results
UpdateUser_ExistingUser_UpdatesUser (FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests+UpdateUser(FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture)) failed
./tests/auth/FinancialHub.Auth.IntegrationTests/TestResults/Results-Integration.xml [took 0s]
Raw output
System.ArgumentOutOfRangeException : IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256', the key size must be greater than: '256' bits, key has '240' bits. (Parameter 'keyBytes') at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
at FinancialHub.Auth.Application.Services.TokenService.GenerateToken(UserModel user) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/TokenService.cs:line 51
at FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture.GetAuthToken(UserModel userModel) in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Setup/FinancialHubAuthApiFixture.auth.cs:line 11
at FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests.UpdateUser.UpdateUser_ExistingUser_UpdatesUser() in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Controllers/UsersControllerTests.cs:line 191
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
github-actions / auth project test results
UpdateUser_ExistingUser_ReturnsUpdatedValues (FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests+UpdateUser(FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture)) failed
./tests/auth/FinancialHub.Auth.IntegrationTests/TestResults/Results-Integration.xml [took 0s]
Raw output
System.ArgumentOutOfRangeException : IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256', the key size must be greater than: '256' bits, key has '240' bits. (Parameter 'keyBytes') at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
at FinancialHub.Auth.Application.Services.TokenService.GenerateToken(UserModel user) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/TokenService.cs:line 51
at FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture.GetAuthToken(UserModel userModel) in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Setup/FinancialHubAuthApiFixture.auth.cs:line 11
at FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests.UpdateUser.UpdateUser_ExistingUser_ReturnsUpdatedValues() in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Controllers/UsersControllerTests.cs:line 213
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
github-actions / auth project test results
GetUser_NotExistingUser_ReturnsNotFound (FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests+GetUser(FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture)) failed
./tests/auth/FinancialHub.Auth.IntegrationTests/TestResults/Results-Integration.xml [took 0s]
Raw output
System.ArgumentOutOfRangeException : IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256', the key size must be greater than: '256' bits, key has '240' bits. (Parameter 'keyBytes') at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
at FinancialHub.Auth.Application.Services.TokenService.GenerateToken(UserModel user) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/TokenService.cs:line 51
at FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture.GetAuthToken(UserModel userModel) in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Setup/FinancialHubAuthApiFixture.auth.cs:line 11
at FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests.GetUser.GetUser_NotExistingUser_ReturnsNotFound() in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Controllers/UsersControllerTests.cs:line 130
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
github-actions / auth project test results
CreateUser_InvalidUser_ReturnsValidationError (FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests+CreateUser(FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture)) failed
./tests/auth/FinancialHub.Auth.IntegrationTests/TestResults/Results-Integration.xml [took 0s]
Raw output
System.ArgumentOutOfRangeException : IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256', the key size must be greater than: '256' bits, key has '240' bits. (Parameter 'keyBytes') at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
at FinancialHub.Auth.Application.Services.TokenService.GenerateToken(UserModel user) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/TokenService.cs:line 51
at FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture.GetAuthToken(UserModel userModel) in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Setup/FinancialHubAuthApiFixture.auth.cs:line 11
at FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests.CreateUser.CreateUser_InvalidUser_ReturnsValidationError() in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Controllers/UsersControllerTests.cs:line 83
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
github-actions / auth project test results
UpdateUser_InvalidUser_ReturnsValidationError (FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests+UpdateUser(FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture)) failed
./tests/auth/FinancialHub.Auth.IntegrationTests/TestResults/Results-Integration.xml [took 0s]
Raw output
System.ArgumentOutOfRangeException : IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256', the key size must be greater than: '256' bits, key has '240' bits. (Parameter 'keyBytes') at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
at FinancialHub.Auth.Application.Services.TokenService.GenerateToken(UserModel user) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/TokenService.cs:line 51
at FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture.GetAuthToken(UserModel userModel) in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Setup/FinancialHubAuthApiFixture.auth.cs:line 11
at FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests.UpdateUser.UpdateUser_InvalidUser_ReturnsValidationError() in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Controllers/UsersControllerTests.cs:line 236
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
github-actions / auth project test results
CreateUser_InvalidUser_DoestNotCreateUser (FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests+CreateUser(FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture)) failed
./tests/auth/FinancialHub.Auth.IntegrationTests/TestResults/Results-Integration.xml [took 0s]
Raw output
System.ArgumentOutOfRangeException : IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256', the key size must be greater than: '256' bits, key has '240' bits. (Parameter 'keyBytes') at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
at FinancialHub.Auth.Application.Services.TokenService.GenerateToken(UserModel user) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/TokenService.cs:line 51
at FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture.GetAuthToken(UserModel userModel) in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Setup/FinancialHubAuthApiFixture.auth.cs:line 11
at FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests.CreateUser.CreateUser_InvalidUser_DoestNotCreateUser() in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Controllers/UsersControllerTests.cs:line 100
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
github-actions / auth project test results
CreateUser_ValidUser_CreatesUser (FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests+CreateUser(FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture)) failed
./tests/auth/FinancialHub.Auth.IntegrationTests/TestResults/Results-Integration.xml [took 0s]
Raw output
System.ArgumentOutOfRangeException : IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256', the key size must be greater than: '256' bits, key has '240' bits. (Parameter 'keyBytes') at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
at FinancialHub.Auth.Application.Services.TokenService.GenerateToken(UserModel user) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/TokenService.cs:line 51
at FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture.GetAuthToken(UserModel userModel) in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Setup/FinancialHubAuthApiFixture.auth.cs:line 11
at FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests.CreateUser.CreateUser_ValidUser_CreatesUser() in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Controllers/UsersControllerTests.cs:line 64
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
github-actions / auth project test results
Signin_ValidData_ReturnsValidToken (FinancialHub.Auth.IntegrationTests.Controllers.SigninControllerTests+Signin(FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture)) failed
./tests/auth/FinancialHub.Auth.IntegrationTests/TestResults/Results-Integration.xml [took 0s]
Raw output
System.ArgumentOutOfRangeException : IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256', the key size must be greater than: '256' bits, key has '240' bits. (Parameter 'keyBytes') at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
at FinancialHub.Auth.Application.Services.TokenService.GenerateToken(UserModel user) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/TokenService.cs:line 51
at FinancialHub.Auth.Application.Services.SigninService.AuthenticateAsync(SigninModel login) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/SigninService.cs:line 21
at FinancialHub.Auth.Presentation.Controllers.SigninController.SigninAsync(SigninModel login) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Presentation/Controllers/SigninController.cs:line 31
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.TestHost.HttpContextBuilder.<>c__DisplayClass23_0.<<SendAsync>g__RunRequestAsync|0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.TestHost.ClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Mvc.Testing.Handlers.CookieContainerHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Mvc.Testing.Handlers.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at FinancialHub.Auth.IntegrationTests.Controllers.SigninControllerTests.Signin.Signin_ValidData_ReturnsValidToken() in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Controllers/SigninControllerTests.cs:line 59
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
github-actions / auth project test results
CreateUser_ValidUser_ReturnsCreatedUser (FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests+CreateUser(FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture)) failed
./tests/auth/FinancialHub.Auth.IntegrationTests/TestResults/Results-Integration.xml [took 0s]
Raw output
System.ArgumentOutOfRangeException : IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256', the key size must be greater than: '256' bits, key has '240' bits. (Parameter 'keyBytes') at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
at FinancialHub.Auth.Application.Services.TokenService.GenerateToken(UserModel user) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/TokenService.cs:line 51
at FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture.GetAuthToken(UserModel userModel) in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Setup/FinancialHubAuthApiFixture.auth.cs:line 11
at FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests.CreateUser.CreateUser_ValidUser_ReturnsCreatedUser() in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Controllers/UsersControllerTests.cs:line 46
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
github-actions / auth project test results
UpdateUser_NotExistingUser_ReturnsNotFound (FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests+UpdateUser(FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture)) failed
./tests/auth/FinancialHub.Auth.IntegrationTests/TestResults/Results-Integration.xml [took 0s]
Raw output
System.ArgumentOutOfRangeException : IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256', the key size must be greater than: '256' bits, key has '240' bits. (Parameter 'keyBytes') at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
at FinancialHub.Auth.Application.Services.TokenService.GenerateToken(UserModel user) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/TokenService.cs:line 51
at FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture.GetAuthToken(UserModel userModel) in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Setup/FinancialHubAuthApiFixture.auth.cs:line 11
at FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests.UpdateUser.UpdateUser_NotExistingUser_ReturnsNotFound() in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Controllers/UsersControllerTests.cs:line 273
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
github-actions / auth project test results
UpdateUser_InvalidUser_DoesNotUpdate (FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests+UpdateUser(FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture)) failed
./tests/auth/FinancialHub.Auth.IntegrationTests/TestResults/Results-Integration.xml [took 0s]
Raw output
System.ArgumentOutOfRangeException : IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256', the key size must be greater than: '256' bits, key has '240' bits. (Parameter 'keyBytes') at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
at FinancialHub.Auth.Application.Services.TokenService.GenerateToken(UserModel user) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/TokenService.cs:line 51
at FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture.GetAuthToken(UserModel userModel) in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Setup/FinancialHubAuthApiFixture.auth.cs:line 11
at FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests.UpdateUser.UpdateUser_InvalidUser_DoesNotUpdate() in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Controllers/UsersControllerTests.cs:line 255
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
github-actions / auth project test results
UpdateUser_NotExistingUser_DoesNotUpdate (FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests+UpdateUser(FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture)) failed
./tests/auth/FinancialHub.Auth.IntegrationTests/TestResults/Results-Integration.xml [took 0s]
Raw output
System.ArgumentOutOfRangeException : IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256', the key size must be greater than: '256' bits, key has '240' bits. (Parameter 'keyBytes') at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.ValidateKeySize(Byte[] keyBytes, String algorithm, Int32 expectedNumberOfBytes)
at Microsoft.IdentityModel.Tokens.CryptoProviderFactory.CreateKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.CreateKeyedHashAlgorithm()
at Microsoft.IdentityModel.Tokens.DisposableObjectPool`1.Allocate()
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.GetKeyedHashAlgorithm(Byte[] keyBytes, String algorithm)
at Microsoft.IdentityModel.Tokens.SymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateJwtSecurityTokenPrivate(String issuer, String audience, ClaimsIdentity subject, Nullable`1 notBefore, Nullable`1 expires, Nullable`1 issuedAt, SigningCredentials signingCredentials, EncryptingCredentials encryptingCredentials, IDictionary`2 claimCollection, String tokenType, IDictionary`2 additionalHeaderClaims, IDictionary`2 additionalInnerHeaderClaims)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.CreateToken(SecurityTokenDescriptor tokenDescriptor)
at FinancialHub.Auth.Application.Services.TokenService.GenerateToken(UserModel user) in /home/runner/work/auth-api/auth-api/src/api/auth/FinancialHub.Auth.Application/Services/TokenService.cs:line 51
at FinancialHub.Auth.IntegrationTests.Setup.FinancialHubAuthApiFixture.GetAuthToken(UserModel userModel) in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Setup/FinancialHubAuthApiFixture.auth.cs:line 11
at FinancialHub.Auth.IntegrationTests.Controllers.UsersControllerTests.UpdateUser.UpdateUser_NotExistingUser_DoesNotUpdate() in /home/runner/work/auth-api/auth-api/tests/auth/FinancialHub.Auth.IntegrationTests/Controllers/UsersControllerTests.cs:line 285
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)