Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor WASM Hosted App with IdentityServer4 throws AddCredentials exception on login

$
0
0

I have Blazor WASM hosted web application that has been running fine on Digital Ocean linux hosting plan. But today I am getting the following error message when logging in:

enter image description here

Anyone knows what it may be? I have a feeling it has to do with finding a certificate. I have a self signed certificate that I am using but don't know why its still giving me this error.

The key section in appsettings.json looks like this:

"Logging": {"LogLevel": {"Default": "Debug","Microsoft": "Warning","Microsoft.Hosting.Lifetime": "Information"  }},"IdentityServer": {"Clients": {"IMS5_1.Client": {"Profile": "IdentityServerSPA"    }  }},"Key": {"Type": "File","FilePath": "/etc/ssl/private/cert.pfx","Password": "zahra123","Name": "/CN=ims.kfaheights.com"},"AllowedHosts": "*"

I get the same error when I tried to deploy this app to the Azure app service. But I did not configure any certificate there (didn't try to install a certificate).

Any ideas?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>