Google login setup

Google buttons appear on sign-in / sign-up after you add credentials. Works for both registration and login (same flow).

1. Google Cloud Console

APIs & Services → Credentials → Create OAuth client ID → Web application

2. Authorized JavaScript origins

Add URI:

https://auth.sooauth.com

3. Authorized redirect URIs

Add URI — exact match, no trailing slash:

https://auth.sooauth.com/auth/social/google/callback

4. Add to sooauth

Coolify env or Admin → Providers → Google:

GOOGLE_CLIENT_ID=123456789-xxxxx.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=GOCSPX-xxxxx

Redeploy (if env vars). Google / GitHub buttons show automatically on sign-in and sign-up pages.

GitHub (bonus)

GitHub → Settings → Developer settings → OAuth App → Authorization callback URL:

https://auth.sooauth.com/auth/social/github/callback