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
sfdcchampionssfdcchampions 

How can third party system obtain ClientID and ClientSecret

Folks need a quick help.

I am planning to use Oauth2.0 for one of the product I am working on. Issue is.. or could be my understanding is wrong. In order to start communication 2 important parameters are required with a rest call which is "ClientID and ClientSecret" which I know can be generated via creating a connected app in salesforce. 

Use case.
Some one installed my app in their org1 and have created a a connected app. now if a thrid party want to access my APEX Rest APIs installed with the package. how do that 3rd party application get to know about the ClientID and ClientSecret associated to this org ( in which a app is recently installed) 

Hope my question is clear.. cause that 3rd party will not be able to access the APEX Rest API installed by me in the current org unless they have the clientid & clientsecret.

I assume this should not be a manual process ( sharing clientid and clientsecret once with the 3rd party system.)

Kindly suggest/help
Thanks

Chaten RaghavChaten Raghav
Hi,


You can open the connected App detail page to get the  Consumer Key and Consumer Secret key.
To open the connected app details page you can follow the steps :-

1:- Setup >> Create >> APP
2:- Under Connected APP Section, Click on your connected App
3:- You will find the Consumer Key and Consumer Secret key on the detail page.

Here is the screen shot of detail page.

User-added image


Please Mark It as "Best Answer" if it helps you. 

Thanks.
Chaten Raghav

Aliaksei LazarouskiAliaksei Lazarouski

Hi,

We faced the same issue. Did you solve the problem? It really help us.

Thanks in advance,

Alex Lazarovski