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
JRyanLJRyanL 

Remote Access Application - OAuth and packages

While working on an application with OAuth recently, I was having the hardest time determining why I couldn't add my Remote Access Application to my package.

 

The problem is that you can add a Remote Access Application to Managed packages only.

 

You also don't add it through the normal "Create->Packages->PackageName->Add Components" like you would do with other items. Remote access applications must be added to the package when it is first created, and this option only appears when the package is marked as managed. You cannot add an existing Remote Access Application to a package. 

 

From the tooltip on the Add Remote Access page:

"A remote access application is only removed from a package when you delete it from your organization. Also, if you create a remote access application and choose not to include it in a package, you can never add it later."

Hopefully this will save someone a little trouble.

sevgisevgi

THANK YOU!

 

You saved my santy ;)

 

Salesforce documentation surely needs a lot of work; but Not adding this as a warning in related pages has no excuse...

 

Thanks again