繁体   English   中英

如何解决通过 OAuth Azure 函数调用 Azure AD B2C 时出现 javascript 错误?

[英]How to solve the javascript error while calling Azure AD B2C via OAuth Azure function?

通过 oAuth Azure 函数调用 Azure AD B2C 时出现以下错误,它在没有任何更改的情况下突然抛出此错误。

调用是通过 Postman 进行的,这个 POST 请求是由客户端发出的,以获取带有 B2C 注册应用程序的 client_id 和 client_secret 的访问令牌,这也是一个 grant_type=client_credentials 流

<div class=\\"error_container\\"><div><h1>We can't sign you in</h1><p>Your browser is currently set to block JavaScript. You need to allow JavaScript to use this service.</p><p>To learn how to allow JavaScript or to find out whether your browser supports JavaScript, check the online help in your web browser.</p></div></div></div></noscript><div id=\\"no_cookie\\" class=\\"no_display\\"><div class=\\"error_container\\"><div><h1>We can't sign you in</h1><p>Your browser is currently set to block cookies. You need to allow cookies to use this service.</p><p>Cookies are small text files stored on your computer that tell us when you're signed in. To learn how to allow cookies, check the online help in your web browser.</p></div></div></div>

Azure b2c 尚不支持使用客户端凭据流获取令牌,请尝试使用验证码流获取令牌。

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM