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?

1 Answer 1


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

  • 1
    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/… Nov 29, 2017 at 9:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .