Skip to content

AuthConfig

Comprehensive authentication configuration Returns all public auth settings from the server

PropertyTypeDescription
captchanull | CaptchaConfigCAPTCHA configuration
magic_link_enabledbooleanWhether magic link authentication is enabled
mfa_availablebooleanWhether MFA/2FA is available (always true, users opt-in)
oauth_providersOAuthProviderPublic[]Available OAuth providers for authentication
password_login_enabledbooleanWhether password login is enabled for app users
password_min_lengthnumberMinimum password length requirement
password_require_lowercasebooleanWhether passwords must contain lowercase letters
password_require_numberbooleanWhether passwords must contain numbers
password_require_specialbooleanWhether passwords must contain special characters
password_require_uppercasebooleanWhether passwords must contain uppercase letters
require_email_verificationbooleanWhether email verification is required after signup
saml_providersSAMLProvider[]Available SAML providers for enterprise SSO
signup_enabledbooleanWhether user signup is enabled