You need to sign in to do that
Don't have an account?
Travis Lee 6
Question on POST request for integration
Hey Everyone,
I'm a novice developer trying to set up an integration between the Salesforce REST API and our platform. Since we utilize OneLogin for SSO, this is the flow that I was using https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_username_password_oauth_flow.htm . I've followed all the steps concerning appending the security token to the end of the password, relaxed IP restrictions on the connected app, and configured the permitted users to "admin approved users are pre-authorized" but I'm still receiving the following error:
{
"error": "invalid_grant",
"error_description": "authentication failure"
}
Which I believe refers to the credentials being incorrect from what I've googled thus far. But, I'm confident that the credentials are correct because I used them to successfully log in to the Apex dataloader.
Here's a screenshot of the request I'm attemping with the error message (minus the user credentials):
Any help or advice would be much appreciated!
I'm a novice developer trying to set up an integration between the Salesforce REST API and our platform. Since we utilize OneLogin for SSO, this is the flow that I was using https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_username_password_oauth_flow.htm . I've followed all the steps concerning appending the security token to the end of the password, relaxed IP restrictions on the connected app, and configured the permitted users to "admin approved users are pre-authorized" but I'm still receiving the following error:
{
"error": "invalid_grant",
"error_description": "authentication failure"
}
Which I believe refers to the credentials being incorrect from what I've googled thus far. But, I'm confident that the credentials are correct because I used them to successfully log in to the Apex dataloader.
Here's a screenshot of the request I'm attemping with the error message (minus the user credentials):
Any help or advice would be much appreciated!
Also, do you see anything in the LoginHistory in Salesforce?
All Answers
Also, do you see anything in the LoginHistory in Salesforce?