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.
Development: Zautha’s credentials
Section titled “Development: Zautha’s credentials”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.
Production: your own OAuth app
Section titled “Production: your own OAuth app”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:
- Create an OAuth app at the provider (one page per provider below).
- 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. - 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 |
|---|---|
| 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.
Scopes
Section titled “Scopes”Zautha asks each provider for a fixed set of scopes, only what sign-in needs. You do not configure them.
| Provider | Scopes requested |
|---|---|
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).
Provider guides
Section titled “Provider guides”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.