Auth Self-hosting Config
In a self-hosted environment, you do not have access to the Auth configuration such as third party OAuth provider settings through the Supabase dashboard. Instead, you configure them through the docker-compose.yml
file. You can read more about the configuration in the Self-hosting guide.
You can find the complete list of available configuration parameters on the README of the Auth repository.
General
General settings.
Parameters
The base URL of your website. Used as an allow-list for redirects and for constructing URLs used in emails.
Whether the external provider, GitHub in this case, is enabled or not.
The OAuth2 Client ID registered with the external provider.
The OAuth2 Client Secret provided by the external provider when you registered.
The URI a OAuth2 provider will redirect to with the code
and state
values.
A comma separated list of URIs (e.g. "https://foo.example.com,https://*.foo.example.com,https://bar.example.com"
) which are permitted as valid redirect_to
destinations.
How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 seconds (one week).
Allow/disallow new user signups to your project.
Allow/disallow new user signups via email to your project.
If enabled, a user will be required to confirm any email change on both the old, and new email addresses. If disabled, only the new email is required to confirm.
If enabled, users need to confirm their email address before signing in.