Logic App 的 http 连接器中是否提供 AAD 身份验证?如果是这样,身份验证对象会是什么样子?
还是我必须单独获取 AAD 令牌,然后在 http 连接器的标头部分中填充相同的令牌?
Logic App 的 http 连接器中是否提供 AAD 身份验证?如果是这样,身份验证对象会是什么样子?
还是我必须单独获取 AAD 令牌,然后在 http 连接器的标头部分中填充相同的令牌?
逻辑应用本机支持 ActiveDirectoryOAuth 身份验证,使用客户端密码或证书 + 密码
以下是两者的架构
"simpleAction": {
"type": "http",
"inputs": {
"uri": "https://www.endpoint.com/certificate",
"method": "GET",
"authentication": {
"type": "ActiveDirectoryOAuth",
"authority": "",
"tenant": "",
"audience": "",
"clientId": "",
"pfx": "",
"password": ""
}
},
},
"simpleAction2": {
"type": "http",
"inputs": {
"uri": "https://www.endpoint.com/secret",
"method": "GET",
"authentication": {
"type": "ActiveDirectoryOAuth",
"authority": "",
"tenant": "",
"audience": "",
"clientId": "",
"secret": ""
}
},
}
这类似于 Azure 调度程序身份验证对象,此处记录了 https://azure.microsoft.com/en-us/documentation/articles/scheduler-outbound-authentication/#request-body-for-activedirectoryoauth-authentication