Sandbox Refreshes

In case Sandbox is refreshed from Production Organization, please correct following configuration:

Fix Connected App Configuration

Connected Application, Authorization Provider and Named Credentials settings will hold information from Production Organization after Sandbox refresh. Please correct following attributes based on the Sandbox information:

  1. Connected Application:

    1. Open Authorization Provider

      1. Setup > Identity > Auth. Providers > Open ‘ClosePlan Metadata Auth Provider’ provider

    2. In a new window open Connected App

      1. Setup > Apps > App Manager > Edit ‘ClosePlan Connected App’

      2. Check that Callback URL field in the Connected App has the same value as in Auth. Provider

      3. Replace with value from Auth. Provider and hit Save and Continue

  2. Authorization Provider:

    1. Open Connected App

      1. Setup > Apps > App Manager > Open ‘ClosePlan Connected App’

    2. In a new window open Authorization Provider

      1. Setup > Identity > Auth. Providers > Edit ‘ClosePlan Metadata Auth Provider’ provider

      2. Check that Consumer Key field and Consumer Secret field value is same as in Connected App

      3. Replace with values from Connected App and hit Save

  3. Named Credentials:

    1. Open My Domain page

      1. Setup > Company Settings > Auth. Providers > My Domain

    2. Open Named Credentials

      1. Setup > Security > Named Credentials > Edit ‘ClosePlan Metadata Service’

      2. Disable Start Authentication Flow on Save

      3. Make sure that URL field value is the same as value next to ‘Your domain name is:’ in My Domain page and hit Save.

  4. Re-Authenticate Credentials

    1. If any correction made, open Named Credentials.

      1. Setup > Security > Named Credentials > Edit ‘ClosePlan Metadata Service’

      2. Make sure Start Authentication Flow on Save is checked

      3. Hit Save to start auth. process

        1. Note that it might take while until all settings are propagated. If so, you will be redirected to login screen instead of blank page. If not, wait few minutes and repeat.