I need to configure Username-Password OAuth Authentication to get salesforce data with the REST API through a community users. Is is possible to do that?


Yes! We have done the same. Once the user is created we do a login using the SOAP login request and from then on use the sessiontoken for making REST API requests.

Soap Login

Rest API

| improve this answer | |
  • I am trying to login a community user using Soap login from a native ios app but it says "unsupported_grant_type" also i found this link that says community user cannot use Username-Password Authentication help.salesforce.com/… – harshal jadhav Nov 29 '17 at 9:37

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.