如何针对Postman租户在Azure AD B2C中请求Access Token
?
我尝试从Azure门户的Run Now
中获取URL,并将其放入Auth Url
中,但这会产生以下错误:
更新
在克里斯回答之后,我现在克服了以上错误。我可以登录,但仍然无法获得访问 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/