@sumeet
I'm sorry for confusing you, I just looked into the API and for Salesforce SSO you only need to construct a valid URL and redirect the user to it
Here is the URL format:Where
* client_id is you Connected App client id.
* redirect_uri is you reverse DNS URL that you need. Some "https://your-url-here" that will represent the VBSF installation.
The final url will look like thisFor example, you can try this link and it will allow you authenticate but will end up with invalid redirect, obviously
https://login.salesforce.com/services/o ... _type=code
I'm sorry for confusing you, I just looked into the API and for Salesforce SSO you only need to construct a valid URL and redirect the user to it
Here is the URL format:
Code:
https://login.salesforce.com/services/oauth2/authorize?client_id=client_id&redirect_uri=redirect_uri&response_type=code"* client_id is you Connected App client id.
* redirect_uri is you reverse DNS URL that you need. Some "https://your-url-here" that will represent the VBSF installation.
The final url will look like this
Code:
https://login.salesforce.com/services/oauth2/authorize?client_id=3MVG9IHf89I1t8hrvswazsWedXWY0i1qK20PSFaInvUgLFB6vrcb9bbWFTSIHpO8G2jxBLJA6uZGyPFC5Aejq&redirect_uri=https://your-url-here&response_type=codehttps://login.salesforce.com/services/o ... _type=code
Statistics: Posted by MIvanov — Jan 20, 2024 9:41 am







