Salesforce Authentication Failing

前端 未结 11 1552
南方客
南方客 2020-11-30 19:05

I am trying to use OAuth authentication to get the Salesforce Authentication Token, so I referred wiki docs, but after getting authorization code, when I make a Post request

11条回答
  •  悲&欢浪女
    2020-11-30 19:34

    I tried many solutions above which did not work for me. However the trick that actually worked for me was to stop using curl and to use postman application to make the request instead.

    By replicating the request in postman, with a POST request and the following params

    1. grant_type
    2. client_id
    3. client_secret
    4. username
    5. password

    This solved the issue for me.

    Just posting it here in case there are others who have tried all the possible solutions with no avail (like I did).

提交回复
热议问题