Configure
Your auth config is a single JSONC file atbase44/auth/config.jsonc. You can customize the directory path with the authDir property in your project configuration. Pull the current config from Base44 with auth pull, then push changes with auth push or deploy.
You can also toggle login methods from the command line with auth password-login, auth social-login, and auth sso.
Example
Field reference
boolean
Allow users to sign in with an email address and password. Defaults to
false.boolean
Allow users to sign in with Google. Defaults to
false.boolean
Allow users to sign in with Microsoft. Defaults to
false.boolean
Allow users to sign in with Facebook. Defaults to
false.boolean
Allow users to sign in with Apple. Defaults to
false."default" | "custom"
How Google OAuth credentials are sourced. Use
default to use Base44-managed credentials, or custom to use your own OAuth client. Defaults to default.string | null
Custom Google OAuth client ID. Only used when
googleOAuthMode is custom. Set this with auth social-login google enable --client-id. The matching client secret is stored as a project secret, not in this file. Defaults to null.boolean
Allow users to sign in with the configured SSO identity provider. Toggle with
auth sso enable|disable. Mutually exclusive with social login. Defaults to false.string | null
Name of the configured SSO provider when
enableSSOLogin is true. One of google, microsoft, github, okta, or custom. Set by auth sso enable --provider. Defaults to null.boolean
Whether this app uses the SSO provider enforced at the workspace level instead of its own
ssoProviderName. Set by a workspace admin in workspace settings, not by the auth sso command. Defaults to false.See also
auth pull: Fetch auth config from Base44auth push: Push auth config to Base44auth password-login: Enable or disable password loginauth social-login: Enable or disable social login providersauth sso: Configure SSO identity providersdeploy: Deploy all project resources- Managing login and registration: Configure login options in the dashboard