Authentication controls how your app’s users sign in, register, and access its features. Auth config lets you manage login methods as a local JSONC file that you sync with Base44 using the CLI.Documentation Index
Fetch the complete documentation index at: https://docs.base44.com/llms.txt
Use this file to discover all available pages before exploring further.
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 and auth social-login.
Example
Field reference
Allow users to sign in with an email address and password. Defaults to
false.Allow users to sign in with Google. Defaults to
false.Allow users to sign in with Microsoft. Defaults to
false.Allow users to sign in with Facebook. Defaults to
false.Allow users to sign in with Apple. Defaults to
false.How Google OAuth credentials are sourced. Use
default to use Base44-managed credentials, or custom to use your own OAuth client. Defaults to default.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.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 providersdeploy: Deploy all project resources- Managing login and registration: Configure login options in the dashboard

