Skip to main content

How to update your Google Sign-In domain

Learn how to update your Google Sign-In configuration when changing your app’s domain to avoid sign-in errors.

S
Written by Support
Updated over 3 months ago

If you enabled Google Sign-in to login to your app and wish to change your app name (brand name).
This guide walks you through updating Authorized Domains, and Redirect URIs in Google Cloud, then confirming your settings in your app.


Requirements

  • Access to the Google Cloud project that owns your OAuth client ID.

  • Domain verified in Google Search Console.

  • Permissions to edit authentication settings in your app’s control panel.


How to update your Google Sign-In domain

  1. Log in to Google Cloud Console and go to APIs & Services > Credentials

  2. Under OAuth 2.0 Client IDs, select the Web application client used by your app or create a new one if you haven't already

  3. In the Branding tab of Google Auth Platform, add your new base domain under Authorized Domains. The domain is: auth.appdocumentation.com (do not include protocol or paths). Save

  4. In the same OAuth client settings
    ● Under Authorized redirect URIs, add the exact callback URL paths. The domain is: https://auth.appdocumentation.com/app/oauth2/callback

    Note: You will be able to find the Client ID and Secret ID once you add the exact callback, these are needed in step 5
    ● Save changes

  5. In your WL Admin Panel
    ● Go to Settings (Left Side Menu) > Account > Global Google Sign-In Configuration
    ● Enable Use your own domain
    ● Enter the Client ID and Client Secret from step 4
    ● Save changes
    ● Note: Updating these settings may sign out users, requiring them to log in again


Pro tips

  • redirect_uri_mismatch errors mean the URIs (https://auth.appdocumentation.com/app/oauth2/callback and https://auth.appdocumentation.com/) do not exactly match what’s in Google’s settings.

  • If the consent screen still shows the old domain, re-check app status if verified or not from Google Cloud Account.

Did this answer your question?