BETTER-AUTH. UI
API Reference

AuthViewPaths

You can customize the paths for the authentication views by providing an AuthViewPaths object to the <AuthUIProvider> component.

PropTypeDefault
TWO_FACTOR
string
"two-factor"
SIGN_UP
string
"sign-up"
SIGN_OUT
string
"sign-out"
SIGN_IN
string
"sign-in"
SETTINGS
string
"settings"
SECURITY
string
"security"
RESET_PASSWORD
string
"reset-password"
RECOVER_ACCOUNT
string
"recover-account"
ORGANIZATIONS
string
"organizations"
ORGANIZATION
string
"organization"
MEMBERS
string
"members"
MAGIC_LINK
string
"magic-link"
FORGOT_PASSWORD
string
"forgot-password"
EMAIL_OTP
string
"email-otp"
CALLBACK
string
"callback"
API_KEYS
string
"api-keys"
ACCEPT_INVITATION
string
"accept-invitation"