fullstackhero / blazor-starter-kit

Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
MIT License
3.45k stars 726 forks source link

AppConfiguration.Secret not working with non ASCII chars #319

Closed hgdiaz closed 2 years ago

hgdiaz commented 2 years ago

appsettings.json If you change the value of Secret under AppConfiguration and you enter non ASCII chars, the app logout users automatically.

Example: "AppConfiguration": { "Secret": "AdfDd%$·gtdsHGfdf" },

jeremiedevos commented 2 years ago

Maybe this documention could be of any help? https://docs.microsoft.com/en-us/office/troubleshoot/access/error-using-special-characters

unchase commented 2 years ago

Try to save json file with another encoding:

image

image

hgdiaz commented 2 years ago

Hi guys. I've already made a pull request with the solution. Check PR https://github.com/blazorhero/CleanArchitecture/pull/320