Skip to main content
You’re viewing developer documentation
This documentation is for developers working with the Base44 developer platform. For information about managing login methods in the app editor, see Managing login and registration.
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.

Configure

Your auth config is a single JSONC file at base44/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.

Example

{
  "enableUsernamePassword": true
}

Field reference

enableUsernamePassword
boolean
Allow users to sign in with an email address and password. Defaults to false.
If your config has no login methods enabled, the CLI warns that users will be locked out when you push. Make sure at least one login method is enabled.

See also