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

401 error - OpenId configuration

Đang mở
#137 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
PowerShell
Star
75
Fork
65
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.