You need to sign in to do that
Don't have an account?
MeWorkingman
Named Credentials/Auth. Providers and Managed Packages
I have a number of problems/questions that I'm facing with respect to Named Credentials/Auth. Providers in my managed package. I'll cover my first problem here.
I have created a Connected App and included it in our managed package.
Now, because the URL is different for each of our clients, we must create a new Named Credential in each installed org - we can't put it into the managed package. Also, since Auth. Providers can't be included in managed packages, we must create a new Auth. Provider in each installed org. The Auth. Provider is using Salesforce OAuth authentication and is saved with a Callback URL which Salesforce generates. When I tested this in the org where I created the managed package, I had to copy that generated Callback URL into the Callback URL list of my Connected App. This raises a problem: I can't edit the Callback URL list of the Connected App in the org into which I've installed the Connected App - it's in the managed package so Salesforce won't allow editing of that list.
So my question: is there a way to edit the Callback URL list of the Connected App in the managed package? If not, is there any other work-around other than adding the Callback URL from the Auth. Provider to my Connected App and generating a new version of the package?
Thanks in advance for any help/insight.
I have created a Connected App and included it in our managed package.
Now, because the URL is different for each of our clients, we must create a new Named Credential in each installed org - we can't put it into the managed package. Also, since Auth. Providers can't be included in managed packages, we must create a new Auth. Provider in each installed org. The Auth. Provider is using Salesforce OAuth authentication and is saved with a Callback URL which Salesforce generates. When I tested this in the org where I created the managed package, I had to copy that generated Callback URL into the Callback URL list of my Connected App. This raises a problem: I can't edit the Callback URL list of the Connected App in the org into which I've installed the Connected App - it's in the managed package so Salesforce won't allow editing of that list.
So my question: is there a way to edit the Callback URL list of the Connected App in the managed package? If not, is there any other work-around other than adding the Callback URL from the Auth. Provider to my Connected App and generating a new version of the package?
Thanks in advance for any help/insight.
Does anybody have any experience with this that could help me figure out what the problem is?
Thanks.