function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aaron BaumanAaron Bauman 

Login to customer portal using session id from SOAP login?

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 immediately log them in?

I've tried following these steps to use frontdoor.jsp (http://help.salesforce.com/apex/HTViewHelpDoc?id=security_frontdoorjsp.htm), but it's not working.

Am I missing something obvious?
Is there a better way to do this?
NehalNehal (Salesforce Developers) 
Hi,

Please refer to link below:
https://developer.salesforce.com/forums?id=906F00000009A7rIAE

https://<instance>.salesforce.com/secur/frontdoor.jsp?sid=<sessionId>&orgId=<orgId>&portalId=<portalId>

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

I hope this helps.