1

I have created a connected app in my org to perform the REST API call to the Metadata API.

Now if I will make this connected app as part of my 2nd Generation Managed Package, Now my question is -

Will the client id and client secret available in the connected app get updated automatically with the client id and secret of the package subscriber at the time of installation?

or

Will the connected app retains my org's Client Id and Secret?

Thanks in advance

1 Answer 1

2

No connected app can have the same ClientId, therefore, you can expect this to be changed/updated when deploying to org(s). the secret is generated automatically as well upon deployment of the new org.

3
  • Ok, so when the subscriber will install this connected app then the client id and secret will be changed as per the subscriber's client id and secret. right?
    – Amit Kumar
    Commented Feb 13, 2022 at 21:47
  • the values will change in each installed org. you can give it a try by spinning up a scratch org and deploying metadata .
    – glls
    Commented Feb 14, 2022 at 0:03
  • Thank you so much for your reply, that's really helpful.
    – Amit Kumar
    Commented Feb 14, 2022 at 4:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .