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
Mayank Pant 11Mayank Pant 11 

Salesforce as External Identity Provider

Hi All,

Business Requirement: We want to authenticate Users using Salesforce credentials. When Users will hit Client Application (Browser), it will redirect user to Salesforce community login page. User will authenciate  via SF credentials. After authenticationm User will be redirectd back to client application. 

Solution: To achieve above functinonality, we have created a connected app in SF. We have also created a community and have assiged user profile to those communities. When user runc client applicaiotn, they are redirected to SF community login page for authentication but after authentication, system is not going to to call back URL.
But if we use salesforce domain name or saleforce standard (https://login.salesforce.com) url at the time of redirection then call back url is called after authentication. 

Has anyone worked on it before? I am struggling from some time to found the fix. 

Thansk
Mayank