AADB2C90077: User does not have an existing sessio

2019-04-10 19:14发布

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条回答
Ridiculous、
2楼-- · 2019-04-10 19:59

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')
查看更多
登录 后发表回答