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 using SOAP call for portal user



I am trying use the SOAP login call for portal user. With the user credentials, I could login through portal login page in browser. I am trying to login the same user using SOAP call (portal id and organization id are provided in request). But the call is failing with error message "INVALID_LOGIN: Invalid username, password, security token; or user locked out.".


Can you please help me in handling this. Do We need to have some settings for the user so that soap login is allowed?

Sankalp JhingranSankalp Jhingran



Are you using java for loggin in using SOAP. Are you setting the OrgId and portal Id in LoginScopeHeader class??





You have to append the security token to the end of the password.