Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I could answer this question by spending a day doing it, but has anyone tried using oAuth to log in a sites user?

My concern is that since usernames are not globally unique, but only unique to that org, that salesforce wouldn't have a way to know which portal to log them in on. I didn't see any parameters to scope the org/portal.

Most of the time, with sites, the answer ends up being, "it doesn't support that"

share|improve this question
Similar idea on the idea exchange – Ryan Guest Jan 8 '13 at 17:28
up vote 3 down vote accepted

AFAIK, OAuth is supported only for full licenses - not authenticated sites or portal. In part, I think, because of the org dependency you mention.

share|improve this answer

Your Answer


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.