Skip to content

Social providers

Users can sign up and sign in with an account at Google, GitHub, Microsoft, Discord, GitLab or Apple. Turn each provider on in the dashboard, under the instance’s Auth settings, in Social connections.

A development instance can use Zautha’s shared OAuth apps, so you can try a provider without registering anything: leave Use your own credentials off. The consent screen then names Zautha, not your product, and the shared app is for development instances only. Apple has no shared app: it needs your own credentials even in development.

A production instance always uses your own OAuth app at each provider, so the consent screen carries your name. For each provider you turn on:

  1. Create an OAuth app at the provider (one page per provider below).
  2. Register the Redirect URL that the provider’s row in Social connections shows. It is the callback of the instance’s Frontend API host, https://<your Frontend API host>/v1/oauth_callback, so it appears once the instance has an active custom domain. Register it exactly as shown.
  3. Open Configure on the provider’s row, turn on Use your own credentials, enter the fields below, and turn the provider on. Zautha refuses to enable a provider whose fields are not all set.
Provider Fields in the dashboard
Google Client ID, Client secret
GitHub Client ID, Client secret
Microsoft Client ID, Client secret
Discord Client ID, Client secret
GitLab Client ID, Client secret
Apple Services ID, Team ID, Key ID, Private key (.p8)

Secrets are stored encrypted and never shown again; leave a secret field empty to keep the one you set.

Zautha asks each provider for a fixed set of scopes, only what sign-in needs. You do not configure them.

Provider Scopes requested
Google openid email profile
GitHub read:user user:email
Microsoft openid email profile
Discord identify email
GitLab openid email profile
Apple name email

An email address counts as verified only when the provider says so (Microsoft: only when the token carries xms_edov = true; Apple: always, private relay addresses included).

Each guide follows the provider’s own documentation, which wins when the provider’s console changes; the date of the check is at the end of each page. Add the buttons to your sign-in with the Next.js or @zautha/js SDK, and see Going to production for the rest of the launch checklist.