Configure whether end users can sign in to your app with an email address and password. This is the CLI equivalent of toggling the “Email and password” option in your app’s authentication settings.
This command updates your local auth config file. To apply the change to your deployed app, run auth push or deploy.
Usage
Enable username and password login:
base44 auth password-login enable
Disable username and password login:
base44 auth password-login disable
Arguments
| Argument | Description | Required |
|---|
<enable|disable> | Whether to enable or disable password authentication | Yes |
If disabling password login would leave your app with no active login methods, the command warns that users will be locked out. Enable an alternative login method, such as Google or SSO, before disabling password login.
See also