Skip to main content
The useWaitForLogin hook polls the Para backend until a returning user’s login is confirmed. Use it as part of a custom step-by-step auth flow after useSignUpOrLogIn returns AuthStateLogin.
This hook is part of the step-by-step flow for apps without the supportsAuthV2 opt-in. On Para’s updated authentication flow, use authenticateWithEmailOrPhone or authenticateWithOAuth, which wait for the session themselves. See Email & Phone Login.

Import

Usage