AdvoLogix Help

How to Assemble & Update Your Google Drive Authorized Redirect URL

Updated on

To set up the Google Drive integration, you will need to assemble an Authorized Redirect URL with the instructions below.

Assemble the URL for a Production Org

The URL structure will look like this:

https://[my domain name]--advpm.vf.force.com/apex/AuthenticateGDrive

Find Your My Domain Name

To find your organization's My Domain name, go to Setup >> Quick Find: My Domain (see below).

Assemble the URL for a Sandbox

The URL structure will look like this:

https://[my domain name]--[sandbox name]--advpm.sandbox.vf.force.com/apex/AuthenticateGDrive

Find the Sandbox Name (only if using a sandbox)

If you are installing into a sandbox, then you will need the name of the sandbox as well.  To find your sandbox name, (while logged into the sandbox) look at the top of any page (see below).

Assemble Your URL

The URL structure will look like this:

https://[your salesforce my domain]--advpm.[domain partition value].vf.force.com/apex/AuthenticateGDrive

Find the Domain Partition Value
Org Type Domain Partition Value
Scratch Org scratch
Developer Org develop

The redirect url assembled above should be added within the Google Cloud Console Project.

How To Update Your Authorized Redirect URL

  1. Go to https://console.developers.google.com and log in to the Google Cloud Console using your Google account.
  2. Once signed in, select the drop-down menu at the top-left corner and you will see a list of existing projects.  Select the project that was set up to authorize your Google Drive integration previously.
  3. Under the Quick access section, click on the APIs and Services action link.
  4. From the sidebar, click on the Credentials menu item.
  5. Find your previously saved credential under OAuth 2.0 Client IDs section, and click on the name.
  6. On the screen that is opened, and under the section named Authorized Redirect URIs, click + Add URI button to add new rows and enter your assembled URL from above.
  7. Click on Save button.
Previous Article Google Cloud Console Project Setup
Next Article Identify Your Client ID & Secret From an Existing Google Cloud Console Project
Still need help? Click here!
AdvoLogix® is a registered trademark of AdvoLogix.com LLC a Texas Limited Liability Company. All references to other trademarks belonging to third parties that appear on this website, documentation, or other materials shall be understood to refer to those registered trademarks owned by others, and not to any trademark belonging to AdvoLogix. Otherwise, all material herein is the copyright of AdvoLogix.com LLC. All Rights Reserved.