If you enabled Google Sign-In to log in to your app and wish to change your app domain and show 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
Log in to Google Cloud Console and go to APIs & Services > Credentials
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
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). SaveIn the same OAuth client settings
● Under Authorized redirect URIs, add the exact callback URL paths. The domain is:https://auth.appdocumentation.com/app/oauth2/callbackNote: 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 changesIn 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 verfied or not from Google Cloud Account.

