fullstackhero / dotnet-starter-kit

Production Grade Cloud-Ready .NET 8 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
https://fullstackhero.net/dotnet-webapi-boilerplate/
MIT License
5.3k stars 1.58k forks source link

[BUG] Can not login after update nuget Microsoft .... 7.0.16 #917

Closed Mike6x closed 8 months ago

Mike6x commented 8 months ago

After update all Microsoft nuget packet to 7.0.16, I got error when logon:

[16:32:06 ERR] IDX10720: Unable to create KeyedHashAlgorithm for algorithm 'HS256', the key size must be greater than: '256' bits, key has '208' bits. (Parameter 'keyBytes') Request failed with Status Code 500 and Error Id ea42850e-5954-457c-946a-b9b5eeb75eaa

How to fix it ?

image

ElAmen commented 8 months ago

Find the signing key in the authentication configuration and add more characters to it then try again.

Mike6x commented 8 months ago

Thanks @ElAmen ! I Found it! image