Skip to main content
deleted 2 characters in body
Source Link
Robert Sösemann
  • 38.2k
  • 29
  • 172
  • 508

Creating Auth Providers and Named Credentials for an installed Managed Package is not a simple process. Most Subscriber Admins are overwhelmed by the settings. For that reason, many AppExchange packages automated the creation of those artifacts using APIs.

Recently the Security Review rules were changed, and such automation is not possible anymore. I am now thinking about how to simplify the process for the Subscriber Admin. The main idea is to package partially configured Named Creds and Auth Providers in the Managed Package and have the Admin only complete them with a Client Id and Secret.

  1. Admin installs the app from Appexchange. It contains a preconfigured Named Credential and Auth Provider.
  2. Admin registers Salesforce Org on External Service and receives Client Id/Secret
  3. Admin adds Client Id and Secret to Named Cred and Auth Provider.
  4. Admin authorized using OAuth flow.
  5. Our app can connect to the API using the Named Credential

I also know that there is a new type of Named Credentials available.

NOTE: I know this has overlapoverlaps with Is it posibble to edit Named Credential url in a managed package?, but this answer does not cover the OAuth part from AuthProvider.

Creating Auth Providers and Named Credentials for an installed Managed Package is not a simple process. Most Subscriber Admins are overwhelmed by the settings. For that reason, many AppExchange packages automated the creation of those artifacts using APIs.

Recently the Security Review rules were changed, and such automation is not possible anymore. I am now thinking about how to simplify the process for the Subscriber Admin. The main idea is to package partially configured Named Creds and Auth Providers in the Managed Package and have the Admin only complete them with a Client Id and Secret.

  1. Admin installs the app from Appexchange. It contains a preconfigured Named Credential and Auth Provider.
  2. Admin registers Salesforce Org on External Service and receives Client Id/Secret
  3. Admin adds Client Id and Secret to Named Cred and Auth Provider.
  4. Admin authorized using OAuth flow.
  5. Our app can connect to the API using the Named Credential

I also know that there is a new type of Named Credentials available.

NOTE: I know this has overlap with Is it posibble to edit Named Credential url in a managed package? but this answer does not cover the OAuth part from AuthProvider.

Creating Auth Providers and Named Credentials for an installed Managed Package is not a simple process. Most Subscriber Admins are overwhelmed by the settings. For that reason, many AppExchange packages automated the creation of those artifacts using APIs.

Recently the Security Review rules were changed, and such automation is not possible anymore. I am now thinking about how to simplify the process for the Subscriber Admin. The main idea is to package partially configured Named Creds and Auth Providers in the Managed Package and have the Admin only complete them with a Client Id and Secret.

  1. Admin installs the app from Appexchange. It contains a preconfigured Named Credential and Auth Provider.
  2. Admin registers Salesforce Org on External Service and receives Client Id/Secret
  3. Admin adds Client Id and Secret to Named Cred and Auth Provider.
  4. Admin authorized using OAuth flow.
  5. Our app can connect to the API using the Named Credential

I also know that there is a new type of Named Credentials available.

NOTE: I know this overlaps with Is it posibble to edit Named Credential url in a managed package?, but this answer does not cover the OAuth part from AuthProvider.

edited title
Source Link
Robert Sösemann
  • 38.2k
  • 29
  • 172
  • 508

Package partially configured Named Credential for defined API endpointNamedCredential and AuthProvider

Creating Auth Providers and Named Credentials for an installed Managed Package is not a simple process. Most Subscriber Admins are overwhelmed by the settings. For that reason, many AppExchange packages automated the creation of those artifacts using APIs.

Recently the Security Review rules were changed, and such automation is not possible anymore. I am now thinking about how to simplify the process for the Subscriber Admin. The main idea is to package partially configured Named Creds and Auth Providers in the Managed Package and have the Admin only complete them with a Client Id and Secret.

  1. Admin installs the app from Appexchange. It contains a preconfigured Named Credential and Auth Provider.
  2. Admin registers Salesforce Org on External Service and receives Client Id/Secret
  3. Admin adds Client Id and Secret to Named Cred and Auth Provider.
  4. Admin authorized using OAuth flow.
  5. Our app can connect to the API using the Named Credential

I also know that there is a new type of Named Credentials available.

NOTE: I know this has overlap with Is it posibble to edit Named Credential url in a managed package? but this answer does not cover the OAuth part from AuthProvider.

Package partially configured Named Credential for defined API endpoint

Creating Auth Providers and Named Credentials for an installed Managed Package is not a simple process. Most Subscriber Admins are overwhelmed by the settings. For that reason, many AppExchange packages automated the creation of those artifacts using APIs.

Recently the Security Review rules were changed, and such automation is not possible anymore. I am now thinking about how to simplify the process for the Subscriber Admin. The main idea is to package partially configured Named Creds and Auth Providers in the Managed Package and have the Admin only complete them with a Client Id and Secret.

  1. Admin installs the app from Appexchange. It contains a preconfigured Named Credential and Auth Provider.
  2. Admin registers Salesforce Org on External Service and receives Client Id/Secret
  3. Admin adds Client Id and Secret to Named Cred and Auth Provider.
  4. Admin authorized using OAuth flow.
  5. Our app can connect to the API using the Named Credential

I also know that there is a new type of Named Credentials available.

Package partially configured NamedCredential and AuthProvider

Creating Auth Providers and Named Credentials for an installed Managed Package is not a simple process. Most Subscriber Admins are overwhelmed by the settings. For that reason, many AppExchange packages automated the creation of those artifacts using APIs.

Recently the Security Review rules were changed, and such automation is not possible anymore. I am now thinking about how to simplify the process for the Subscriber Admin. The main idea is to package partially configured Named Creds and Auth Providers in the Managed Package and have the Admin only complete them with a Client Id and Secret.

  1. Admin installs the app from Appexchange. It contains a preconfigured Named Credential and Auth Provider.
  2. Admin registers Salesforce Org on External Service and receives Client Id/Secret
  3. Admin adds Client Id and Secret to Named Cred and Auth Provider.
  4. Admin authorized using OAuth flow.
  5. Our app can connect to the API using the Named Credential

I also know that there is a new type of Named Credentials available.

NOTE: I know this has overlap with Is it posibble to edit Named Credential url in a managed package? but this answer does not cover the OAuth part from AuthProvider.

Source Link
Robert Sösemann
  • 38.2k
  • 29
  • 172
  • 508

Package partially configured Named Credential for defined API endpoint

Creating Auth Providers and Named Credentials for an installed Managed Package is not a simple process. Most Subscriber Admins are overwhelmed by the settings. For that reason, many AppExchange packages automated the creation of those artifacts using APIs.

Recently the Security Review rules were changed, and such automation is not possible anymore. I am now thinking about how to simplify the process for the Subscriber Admin. The main idea is to package partially configured Named Creds and Auth Providers in the Managed Package and have the Admin only complete them with a Client Id and Secret.

  1. Admin installs the app from Appexchange. It contains a preconfigured Named Credential and Auth Provider.
  2. Admin registers Salesforce Org on External Service and receives Client Id/Secret
  3. Admin adds Client Id and Secret to Named Cred and Auth Provider.
  4. Admin authorized using OAuth flow.
  5. Our app can connect to the API using the Named Credential

I also know that there is a new type of Named Credentials available.