Google

Overview

Google supports OAuth 2.0 Web applications. Every WordPress domain must be listed under Authorized redirect URIs, otherwise users will see a redirect_uri_mismatch error.

Step-by-step

  1. Create or select a Google Cloud project.
  2. Open APIs & Services → OAuth consent screen, choose External, fill in the app name, support email, and add your domain to the domain list.
  3. Under Credentials, click Create credentials → OAuth client ID and choose Web application.
  4. Specify the Titan Social Login callback URL as an Authorized redirect URI:
    https://your-site.com/wp-login.php?action=tsl_oauth_callback&provider=google
  5. Add your site URL to Authorized JavaScript origins if you plan to load the Google SDK elsewhere (optional).
  6. Copy the generated Client ID and Client Secret, then paste them into WordPress → Titan Social Login → Providers → Google and toggle Display ON.

Testing tips