Guest User

Untitled

a guest
Jul 18th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. curl https://login.salesforce.com/services/oauth2/token -d "grant_type=password" -d
  2. "client_id=myclientid" -d "client_secret=myclientsecret" -d "mylogin@salesforce.com" -d
  3. "password=mypassword123456"
  4.  
  5. {"error":"invalid_grant","error_description":"authentication failure"}
  6.  
  7. curl https://login.salesforce.com/services/oauth2/token -d "grant_type=password" -d
  8. "client_id=XXXXXX.YYYYY_ZZZZZ" -d "client_secret=000099990000" -d "name@domain.com" -d
  9. "password=yourpasswordyoursecuritytoken"
  10.  
  11. curl https://login.salesforce.com/services/oauth2/token -d "grant_type=password" -d
  12. "client_id=XXXXXX.YYYYY_ZZZZZ" -d "client_secret=000099990000" -d "username=name@domain.com" -d
  13. "password=yourpasswordyoursecuritytoken"
  14.  
  15. {
  16. "error" : "invalid_grant",
  17. "error_description" : "authentication failure"
  18. }
Add Comment
Please, Sign In to add comment