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

Login from the site to the customer portal trough Apex



I'm trying to automate the login from users from our site to the corresponding customer portal. The easiest solution I found is saving the password of the current user in a parameter and writing a URL which looks like this one:


But saving the password from page to page, even encoded is not pretty nice... I had hope that using something like the Session Id would allow to perform the login but I'm not able to find how to use it in this way... Has someone maybe an idea ... or another nicer than mine?? the Single Sign-on solution is not really a solution for me because having to implement a webservice and so on is much to much complicate for what I just require: I just would like to use something standard in apex...



Was about to post the same question.

Somebody..... please.