Skip to main content
The useSignUpOrLogIn hook initiates the authentication flow for new or existing users, handling both sign-up and login scenarios automatically.

Import

Usage

useSignUpOrLogIn only starts the sign-in. For a custom UI, useAuthenticateWithEmailOrPhone runs the whole flow, including the session wait and wallet creation, in one call.