AADB2C90077: User does not have an existing session and request prompt parameter has a value of 'None'

試著忘記壹切 提交于 2020-01-01 15:38:25

问题


I have an Angular app that uses MSAL.js and when I try to get an access token I'm receiving the following error:

AADB2C90077: User does not have an existing session and request prompt parameter has a value of 'None'.


回答1:


I was passing the wrong scope value; I had a typo in my tenant name:

this.userAgentApplication.acquireTokenSilent('https://{tenantname_with_typo}.onmicrosoft.com/webapi/read')


来源:https://stackoverflow.com/questions/47823447/aadb2c90077-user-does-not-have-an-existing-session-and-request-prompt-parameter

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!