New answers tagged

6

Auth Provider is org specific. It has a callback URL where a connected app redirects after authentication and org get authcode and complete the rest authentication steps. If salesforce allows Auth Provider to be packaged then redirect url will be same (same as packaging org) for all the subscriber orgs and it will redirect incorrectly to packaging org ...


2

Salesforce closely follows the Oauth2.0 spec for a Named Credential OAuth2.0 flow. When you save and start the Authentication flow, the page reference method initiate is called where your class has the URL to navigate to and complete the Oauth2.0 flow. Once Authentication is successful the callback method handleCallback should have the logic to invoke the ...


Top 50 recent answers are included