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

401 error - OpenId configuration

Aperta
#137 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PowerShell
Stelle
75
Fork
65
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.