New answers tagged oauth2
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 +
...
1
vote
Accepted
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.
Top 50 recent answers are included
Related Tags
oauth2 × 839rest-api × 159
connected-apps × 134
authentication × 124
apex × 115
namedcredentials × 75
oauth × 71
api × 63
jwt × 60
integration × 57
single-sign-on × 47
community × 40
rest × 35
auth-provider × 32
refresh-token × 32
authorization × 30
apexrest × 25
open-id-connect × 24
callout × 23
security × 23
soap-api × 21
accesstoken × 21
visualforce × 20
marketing-cloud × 19
managed-package × 18