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.
  1. authenticate a customer portal using SOAP login() method and LoginScopeHeader
  2. receive SessionID in LoginResult object
  3. How can I use SessionID to redirect the user's browser to the customer portal and log them in?

I've tried frontdoor.jsp, but it's not working.

Is there a better way to do this?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

This discussion forum thread suggests that you can do this with


Change <instance> to the relevant instance, e.g. na1, and substitute in the relevant IDs.

share|improve this answer
metadaddy FTW! Thanks! –  aaronbauman Apr 25 '14 at 13:50

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.