New answers tagged

0 votes

How does stateToPropagate work when extending Auth.AuthProviderPluginClass

stateToPropagate is generated by Salesforce and you cannot edit it. In the initiate method of AuthProviderPluginClass you can construct your GET request URL as below : String url = authUrl + ...
compski's user avatar
  • 1,227
1 vote

Custom login with password for experience cloud sites

You can use Site.login to use their username and password. On successful login, you'll get a PageReference that contains the URL necessary to access site in a logged-in state.
sfdcfox's user avatar
  • 477k

Top 50 recent answers are included