SOQ International Academy

Google Sign-in

Administrators enable Google social login from Settings ? General ? Features (Social login settings). Public auth then uses the Socialite Google flow with the stored client ID and secret.

google_sign_in screenshot

Live screenshot from the SOQ beauty demo (aiacademy.aiee.dev).

Surfaces, roles and current terminology

SurfaceCurrent navigation terminologyStatus
Feature togglesSettings ? General ? Features ? show Google login buttonCore
OAuth credentialsgoogle_client_id / google_client_secret fieldsCore
Public login/registerPublic auth screens with Google button when enabledCore
Facebook equivalentsSame Features social login sectionCore optional

Permissions, settings and activation

  • Requires admin_settings_general (or equivalent Features save permission).
  • Google Cloud OAuth client must allow this site's redirect URIs.
  • Disabling the button hides Google entry without deleting stored secrets.

Core workflows

Enable Google Sign-in
  1. Create an OAuth client in Google Cloud for the production domain.
  2. Open Settings ? General ? Features and enter google_client_id and google_client_secret.
  3. Enable show_google_login_button and save Features.
  4. On a private window, open public login/register and complete a Google sign-in test.
Map accounts safely
  1. Sign in with a Google account that matches an existing email only when account linking rules allow it.
  2. Confirm the resulting user role and organization ownership are correct.
  3. Document whether new Google users become students by default on this install.
Disable or rotate credentials
  1. Turn off show_google_login_button before rotating secrets if you need an immediate stop.
  2. Replace client secret in Features and in Google Cloud together.
  3. Retest login and revoke old OAuth clients in Google Cloud.

Result states

  • Success: Google button appears on public auth, OAuth completes, and the user lands in Panel with the expected role.
  • Pending: Credentials saved but Google console redirect URI still propagating.
  • Denied: Features permission missing, or Google rejects the client/redirect configuration.
  • Error: Socialite callback failure or mismatched secret; keep email/password login available while fixing.