When I try to login into Sitecore using Sitecore CLI command, I am getting below issue:
I checked and my Sitecore is working fine and using browser I am able to login as well.
I checked the .Net Core Runtime and .Net Core 3.1 is installed.
When I hit the below URL in browser, I am getting HTTP Error 502.5 - Process Failure error
After some research, I found that license file available on the identityserver was not valid at the path \SC101identityserver.dev.local\sitecoreruntime\license.xml
After changing the valid license file, I am getting the json below response.
After this, I tried the same PowerShell command to login using Sitecore CLI, this time Sitecore login popup came. I got the below screen after providing the credential. Here need to provide the permission, hence clicked on Yes, Allow.
SITECORE CLI LOGIN ERROR - /.well-known/openid-configuration: Bad Gateway
WALKTHROUGH OF ASP.NET RENDERING SDK
SETTING UP ASP.NET RENDERING SDK
DISABLE SITECORE PUBLISHING SERVICE
SETUP SITECORE PUBLISHING SERVICE
SITECORE CONNECT CONNECTOR - CONTENT HUB