I have created a salesforce connected app and using that to call in Authentication provider. When I select Salesforce as provider type getting below as default:
Authorize End point url: https://.my.salesforce.com/services/oauth2/authorize
After replacing My domain with salesforce domain if i try to call the datasource then getting error as “Unable to authenticate to data source, login has been cancelled”.
Please help me with how to provide appropriate Authorize and token end point urls
To use the Salesforce data source type with Skuid, you’ll need to complete the following three steps for each external org you want to access:
On the external Salesforce org: Create a Salesforce connected app on the external org [this is the source of the Client ID and Client Secret credentials that you will need for your authentication provider]
On Skuid: Create a Salesforce authentication provider that uses the credentials from the connected app created in the external Salesforce org. [sometimes this is set up automatically when you do #3]
On Skuid: Create a Salesforce data source to facilitate a connection to the external Salesforce org.
Before you start
You must have the latest version of Skuid installed in each external Salesforce org you will be accessing.
You must have licensed Skuid user credentials for each external Salesforce org you will be accessing. These user credentials must match the credentials used to pull the data; use the same Salesforce/Skuid credentials throughout this process.
My Domain must be enabled on any Salesforce Org you will be accessing. While the org’s instance-based URL (e.g. https://na30.salesforce.com/) will technically work, using it is not recommended since this URL is subject to change when Salesforce performs instance migrations. My Domain is free and available on all Salesforce orgs that can run Skuid. Configure your org’s My Domain settings by navigating to Setup > Domain Management > My Domain. To learn more, see Salesforce’s My Domain documentation
Thanks for the replay, i have done the setup as per the above documentations. I have created a connected app in salesforce org also from which im generating client id and client secrete.
when i try to create new Authentication provider using client id and client secrete from salesforce connected app, i will get below screen
for Authorize end point and token end point URL, when i try to replace the domain name and try to connect to generate the token, im getting error as i mentioned above.
In documentation i didnt find any information regarding setting up Authorize and token end point URLs, can you please help me on this.
Now when i try to fetch the data source details into skuid page which I created, I’m not getting the token generating automatically and hence the fields details i’m not able to fetch.
Could you please help me on this part. Below is the error which i’m getting while fetching fields from REST API:
Thanks for providing that information. I need a few more details to know how to best advise you.
What’s your end goal? Can you share some more details here?
Are you trying to connect to an another Salesforce org, or the same Salesforce org you're working in?
Do users need to use their own credentials, shared credentials, or another type?
For your Data Source Type, are you using REST or Salesforce? From what you've said it sounds like you're using REST to access Salesforce. As shown in the screenshot below, in Configure - Data Sources, is the type salesforce or REST?
For your authentication provider, which authentication type are you using? (e.g. Salesforce, other, etc.)