Skip to main content
15 events
when toggle format what by license comment
Apr 21, 2020 at 23:41 answer added Tyler Zika timeline score: 2
Jan 23, 2017 at 15:13 comment added Romeo What permissions did you set for the account you are using to authenticate?
Jan 29, 2016 at 12:54 answer added guidos timeline score: 4
Jul 20, 2014 at 17:16 vote accept Quentin Renard
Jul 16, 2014 at 13:05 answer added Quentin Renard timeline score: 23
Jul 16, 2014 at 9:44 comment added Quentin Renard I've tried with URLEncoded for the redirectURL and I've also tried to add the "CURLOPT_HEADER" attribute to false but neither of those tries worked... Yes I've set IP Relaxation connected app setting to "Relax IP Restrictions"... I'm going to try to send the parameters as GET parameters, not POST parameters, see if I have any luck. Do you see anything else I could try ?
Jul 16, 2014 at 2:53 history tweeted twitter.com/#!/StackSalesforce/status/489241442620305410
Jul 15, 2014 at 17:22 comment added Rao can you try to URLEncode the redirectURL, I saw somewhere that redirectURL has to be URLEncoded. when you say disabled IP restriction did you switch *IP Relaxation connected app setting to "Relax IP Restrictions"? Also not sure if you had a chance to look at this awesome cookbook : developer.force.com/cookbook/… ( I am not too aware of PHP syntax and your app seems to be talking PHP with salesforce all over)
Jul 15, 2014 at 15:07 comment added Quentin Renard The following allowed IP range was already there for the user we're trying to use : "0.0.0.0" to "255.255.255.255". Also we have added the IP of our server as indicated in this link: help.salesforce.com/…. Furthermore we have disable IP restrictions on our end for the connected App. Do you think we have to add another configuration part for the IP restrictions bit ?
Jul 15, 2014 at 15:03 comment added Rao invalid_grant happens only for 2 reasons 1) when there is an IP restriction or login hour restriction 2) user credentials are not valid. Assuming 2) is provided right can you check if there is any user/ IP restriction
Jul 15, 2014 at 14:53 comment added Quentin Renard I have edited the question with my code :) Thanks for reaching out so quickly :) I have seen the post you're mentionning and it's not pertinent to my problem since I'm using the grant type "authorization_code" and not "password" :)
Jul 15, 2014 at 14:52 history edited Quentin Renard CC BY-SA 3.0
added 749 characters in body
Jul 15, 2014 at 14:52 comment added Rao Did you take a look at this post : salesforce.stackexchange.com/questions/5206/… how are you building your CURL, can you post your CURL
Jul 15, 2014 at 14:47 review First posts
Jul 15, 2014 at 14:53
Jul 15, 2014 at 14:44 history asked Quentin Renard CC BY-SA 3.0