postman - 在Postman中为Azure AD B2C请求访问 token

标签 postman azure-ad-b2c

如何针对Postman租户在Azure AD B2C中请求Access Token

new access token screenshot

我尝试从Azure门户的Run Now中获取URL,并将其放入Auth Url中,但这会产生以下错误:

b2c error

更新

在克里斯回答之后,我现在克服了以上错误。我可以登录,但仍然无法获得访问 token :

AADB2C90085: The service has encountered an internal error. Please reauthenticate and try again. Correlation ID: 45c56d47-4739-465f-8e02-49ba5b3a1b86 Timestamp: 2017-11-16 15:27:52Z

最佳答案

使用@Chris Padgett's answer,我可以使用Implicit Grant Type来使其工作(无法使用授权码Gran Type来工作)。

赠款类型:Implicit
回调网址:我的B2C应用中定义的任何网址

验证网址:https://login.microsoftonline.com/te/{tenant}/{policy}/oauth2/v2.0/authorize
客户编号:来自我的B2C应用的Application ID
范围:https://{tenant}.onmicrosoft.com/{web api app id uri}/{scope name}
客户端认证:Either one, it didn't matter

关于postman - 在Postman中为Azure AD B2C请求访问 token ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47275079/

相关文章:

Firebase 云消息传递与 Postman : Connection error as soon as I add authorization

javascript - 通过帖子消息发送代码不起作用

azure - 将策略与 azure 应用程序注册结合使用与将策略与 azure b2c 应用程序结合使用

azure - Azure AD B2C 是否允许在自定义域登录页面而不是 https ://<tenant-name>. b2clogin.com 页面上登录?

azure-ad-b2c - 登录/注册后 Azure B2C 重定向 - Blazor

javascript - 评估预请求脚本时出错

java - Spring 文件上传 - 'Required request part is not present'

c# - GET 请求在浏览器中有效,但在使用 Postman 时我得到了 Unauthorized

Azure AD B2C - 异步电子邮件验证

azure - 直接将托管标识与 Azure B2C 或 KeyVault 结合使用