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
camelUsercamelUser 

Get connected app information via REST / API / SOQL

I have a situation where i need to get the infomation of a connected app via apex, spacificly i need access to the Client Id and Client Secret can anyone tell me if this is possable / provide a basic example?

 

I thought i would be able to get this via SOQL but in not having much luck.

 

 

Neha AggrawalNeha Aggrawal
Hi,

I don't think it is possible to get the information in Apex. Since Connected App info can be retrieved by using Metadata API only.
Thanks.