dotnet Sitecore login command - Error connecting to /.well-known/openid-configuration: Not Found

Error:


Logging in to Sitecore. You should see a browser window open shortly.

Error connecting to /.well-known/openid-configuration: Not Found

Cause:

If you look at my command above, it looks like this 

dotnet sitecore login --authority https://sc1011devsc.dev.local --cm https://sc1011devsc.dev.local --allow-write true

instead of 

dotnet sitecore login --authority https://sc1011identityserver.dev.local --cm https://sc1011devsc.dev.local --allow-write true

In other words, I didn't pass the correct identity server address for the authority flag


Comments