0

I have created one Rest webservice in SFDC (which I want to expose to other users) and set up one CUSTOMER community User.

Login URL:

https://test.salesforce.com/services/oauth2/token?grant_type=password

I am trying to retrieve access_token using postman but getting the response:

{
"error": "invalid_grant",
"error_description": "authentication failure"
}

params which i send with request are :

client_id,client_secret,username,password,grant_type="password", response_type="code",content-type="application/x-www-form-urlencoded"

where username is community user`s username and his password.

How we can retrieve session id for community user using REST API ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.