Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

I'm trying to satisfy a requirement for providing an API for communities users, where they can log into Salesforce, retrieve some data, and provide that back to a client. I have two questions around this that are related.

1) Can Salesforce Communities users log in with OAuth2 and the refresh token flow?

I found the following contrary point, but it is for username / password flow and not the refresh token flow: http://salesforce.stackexchange.com/questions/19121/should-oauth2-with-grant-type-password-work-for-high-volume-customer-portal

2) And a follow up to the above question: Can the OAuth login page be branded?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Yes, Communities users can use OAuth 2.0. Instead of login.salesforce.com, Use the Community URL as the prefix to the authorization URL - for example, https://acme.force.com/customers/services/oauth2/authorize. See the section Configuring Authentication Flows with OAuth in Getting Started With Communities.

Yes, the Community login page can be branded. See the section Customizing Communities Login in the same doc.

share|improve this answer
1  
Clarified this as well. Just a note that the branding applies only to the communities / site page and not, for instance, test.salesforce.com. Makes complete sense, but an important distinction. –  James Loghry Aug 30 at 1:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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