A cloud-based identity and access management service for securing user authentication and resource access
hello
I got the same issue
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello.
All of a sudden I am no longer able to log into my ASP.NET web api on localhost.
I've been getting this error:
System.InvalidOperationException: IDX20803: Unable to obtain configuration from: 'https://login.windows.net/578XXXXXX/v2.0/.well-known/openid-configuration'.
---> System.IO.IOException: IDX20804: Unable to retrieve document from: 'https://login.windows.net/578XXXXXX/v2.0/.well-known/openid-configuration'.
---> System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 60 seconds elapsing.
---> System.TimeoutException: A task was canceled.
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at ........
My configuration is correct:
"AzureAd": {
"Instance": "https://login.windows.net",
"ClientId": "2103XXXXXXX",
"TenantId": "57XXXXXXX",
"Audience": "api://21XXXXX"
},
My code in Startup:
builder.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddMicrosoftIdentityWebApi(builder.Configuration.GetSection("AzureAd"));
All this worked perfectly fine until today.
There are no problems in production. The same code works perfectly in the deployed Azure App.
Any ideas why I'm getting this time out issue? Could it be a network issue on my end?
A cloud-based identity and access management service for securing user authentication and resource access
hello
I got the same issue