Closed fastrocket closed 5 years ago
I couldn't reproduce this issue, and I tried both the github repo and the published dot net template. Can you try install the latest published template (v2.1.0) and create a new project:
dotnet new -i dotnetify.react.template
dotnet new dotnetify -o MyNewApp
Just tried using the two steps you provided and I see the same error. Our network admin updated all our Windows 10 dev boxes this weekend with security updates, so maybe that has something to do with it? I'm going to experiment with a Window 10 VM as well as my home box, and will update this ticket later. Thanks for the fast reply!
So our network admin installed the Windows 10 1803 update which may have caused this problem.
I experimented with DataProtection configuration and was able to fix this problem by adding this to Startup.cs's ConfigureServices:
services.AddDataProtection().PersistKeysToFileSystem(new DirectoryInfo(@"./"));
This saves the key-*.xml file to the app's directory (consider security before using this in production).
No errors when signing in now. Hopefully this helps someone else if they run into the same problem.
Feel free to close!
I started seeing the following error and get a 500 error when trying to sign in. I tried cloning this project from scratch and still see this error when trying to sign in.
It's strange because I had no issues signing in last week, and I didn't make any changes. I tried re-trusting the https cert with "dotnet dev-certs https --trust", but that didn't fix it.
As I'm new to OpenIdConnect and React in general (and since Google doesn't help), any clues?