能够使用邮递员为销售人员生成令牌,但同样我尝试使用逻辑应用程序但出现 grant_type 错误

Able to generate token for salesforce using postman but same i tried using logic app but getting grant_type error

我想使用 url 生成 salesforce 令牌 https://test.salesforce.com/services/oauth2/token 和参数,我用 postman 试过了,没问题。

但是当我在逻辑应用程序 HTTP 中使用相同的参数时,它会抛出错误 invalid grant type

任何人在使用逻辑应用程序时可能出了什么问题? 也试过这样-

邮递员一切顺利 -

在 postman 中你的内容类型是原始的,在 azure 中它是 urlencoded 用它做实验。当你去原始时,你的用户名的“@”符号被发送为“@”或手动编码为 %40? 如果从 Azure 应用中删除 urlencoded header 会怎样?