Skip to main content
This page is part of an AI coding agent skill and is written for agents, not humans. For the human-readable Base44 docs, see the developer documentation.

base44 auth sso

Configure an SSO (Single Sign-On) identity provider for your app. Supports Google, Microsoft, GitHub, Okta, and custom OIDC providers. Auth config changes are local until you run base44 auth push or base44 deploy.

Syntax

Arguments

Options (enable)

*The client secret must be provided via --client-secret, --client-secret-stdin, --env-file, or the sso_client_secret environment variable.

Examples

JSON Config File Format

Use --file to supply all settings from a JSON file:
Flags passed alongside --file override the file values. Cannot be combined with --env-file.

Notes

  • Changes are written to the local base44/auth/ config. Run npx base44 auth push or npx base44 deploy to apply them.
  • SSO and social login are mutually exclusive — enabling SSO disables any active social login configuration in the local auth config.
  • disable removes SSO from the local config and deletes the stored SSO credentials from Base44.
  • Disabling SSO when no other login method is active will warn that users will be locked out.
  • The client secret is stored in Base44’s secrets store, not in the local auth config file.