base44 auth social-login
Enable or disable social login providers for your app (Google, Microsoft, Facebook, Apple). Auth config changes are local until you runbase44 auth push or base44 deploy.
Syntax
Arguments
Options
Custom OAuth options (
--client-id, --client-secret, --client-secret-stdin, --env-file) are only supported for Google. For other providers, enable/disable without any options.
Examples
Notes
- Changes are written to the local
base44/auth/config. Runnpx base44 auth pushornpx base44 deployto apply them. - SSO and social login are mutually exclusive — enabling social login disables any active SSO configuration in the local auth config (and vice versa).
- Disabling the last active login method will warn that users will be locked out.
- When using custom OAuth for Google:
--client-idis required whenever any secret option is passed. - The client secret is saved to Base44’s secrets store; the client ID is stored in the local auth config.
- If you set a custom client ID without providing a secret now, push the secret later:
npx base44 secrets set --env-file <path>