AADB2C90077:用户没有现有的会话,并且请求提示参数的值为"None" [英] AADB2C90077: User does not have an existing session and request prompt parameter has a value of 'None'
本文介绍了AADB2C90077:用户没有现有的会话,并且请求提示参数的值为"None"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个使用 MSAL.js 的Angular应用,并且当我尝试获取访问令牌时,出现以下错误:
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:用户没有现有的会话,并且请求提示参数的值为'None'.
AADB2C90077: User does not have an existing session and request prompt parameter has a value of 'None'.
推荐答案
我传递了错误的范围值;我的房客名字有错字:
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')
这篇关于AADB2C90077:用户没有现有的会话,并且请求提示参数的值为"None"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文