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
ACCEPT_INVITATION
string
"accept-invitation"
TWO_FACTOR
string
"two-factor"
SIGN_UP
string
"sign-up"
SIGN_OUT
string
"sign-out"
SIGN_IN
string
"sign-in"
RESET_PASSWORD
string
"reset-password"
RECOVER_ACCOUNT
string
"recover-account"
MAGIC_LINK
string
"magic-link"
FORGOT_PASSWORD
string
"forgot-password"
EMAIL_OTP
string
"email-otp"
CALLBACK
string
"callback"