auth push or deploy.
Usage
Enable SSO with a provider’s OAuth credentials:Arguments
Flags
All flags below apply toenable. disable takes no flags. Required flags depend on the provider, see Per-provider requirements.
If you omit
--client-secret, --client-secret-stdin, and --env-file, and the sso_client_secret environment variable isn’t set, the CLI prompts for the secret interactively.
Per-provider requirements
All providers require--provider, --client-id, and a client secret, provided through --client-secret, --client-secret-stdin, --env-file, the sso_client_secret environment variable, or the interactive prompt. Some providers need additional flags:
Microsoft Entra example:
Config file format
Instead of passing every value as a flag, provide a JSON file with--file. Fields match their flag counterparts in camelCase, and flag values take precedence over file values when both are provided.
See also
auth password-login: Enable or disable email and password loginauth pull: Fetch auth config from Base44 to your local projectsecrets set: Set project secrets manually- Managing login and registration: Configure login options in the dashboard