2

I'm trying to configure an External Data Source to use Salesforce Auth Provider so the OAuth 2 will pass access and refresh token. My configuration: Identity Type: Per User Authentication Protocol: OAuth 2.0 Authentication Provider test (Salesforce)

Setting scope to refresh_token and saving results in the following error:

We can’t log you in because of an authentication error. For help, contact your Salesforce administrator.

Setting the scope in the Auth Provider configuration makes Consumer Key and Consumer Secret fields required, defining some values in there and using Test-Only Initialization URL results in the following error:

error=invalid_client_id&error_description=client%20identifier%20invalid

Is there any way to configure External Data Source to use refresh token? Alternatively is there any way for the External Data Source (OData to be precise) to get to know the Salesforce ID of the user that caused the request to be sent to the External Data Source?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.