OyeScripts Support

ViralHub Documentation

Google Login Setup

Configuration

Setting Up Google Login

Step 1 — Create a Google Cloud Project

  1. Go to Google Cloud Console
  2. Create a new project (or select an existing one)
  3. In the left menu go to APIs & Services → Credentials
  4. Click Create Credentials → OAuth 2.0 Client ID
  5. Set Application type to Web application

Step 2 — Set the Redirect URI

In the Authorized redirect URIs field, add exactly:

https://yourdomain.com/auth/google/callback

Step 3 — Copy Credentials to Admin Panel

  1. Copy your Client ID and Client Secret from Google Cloud Console
  2. Go to Admin → Settings → Social in ViralHub
  3. Paste the Client ID and Client Secret into the Google Login fields
  4. Toggle Show "Continue with Google" button to ON
  5. Click Save

The Google login button will now appear on the login and register pages.