Azure-Samples / Azure-Samples/ms-identity-ciam-javascript-tutorial

401 error - OpenId configuration

未关闭
#137 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PowerShell
星标
75
派生
65
PR 合并指标
30 天内没有已合并 PR

描述

Hello,

I continuously receive 401 error at the front-end at todolist call.
I checked the log at the back-end:

Unable to retrieve document from: 'https://TENANTNAME.onmicrosoft.com/TENANTID/v2.0/.well-known/openid-configuration'..
Microsoft.IdentityModel.LoggingExtensions.IdentityLoggerAdapter: Error: Message: IDX40001: Issuer: 'https://login.microsoftonline.com/81e60945-86db-4111-a558-324338a26215/v2.0', does not match any of the valid issuers provided for this application. , InnerException: IDX20803: Unable to obtain configuration from: 'https://TENANTNAME.onmicrosoft.com/TENANTID/v2.0/.well-known/openid-configuration'. Will retry at '0001. 01. 01. 0:00:00 +00:00'. Exception: 'System.IO.IOException: IDX20804: Unable to retrieve document from: 'https://TENANTNAME.onmicrosoft.com/TENANTID/v2.0/.well-known/openid-configuration'.
---> System.Net.Http.HttpRequestException: The requested name is valid, but no data of the requested type was found. (ernstyounghu.onmicrosoft.com:443)

I tried to switch between various nuget packages and instead of ciamlogin I use https://login.microsoft.com/TENANTID in the front end and https://TENANTNAME.onmicrosoft.com/ at the back-end.

Any idea?

Thanks,

Regards,

Adam

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。