Skip to main content

Type definition

Below is the type definition for the UseAuthParams type. This is the type definition for the parameters you pass to the useAuth hook. The type varies depending on whether auto-registration is enabled.

With auto-registration (autoRegister: true)

Without auto-registration (autoRegister: false)

Last modified on May 22, 2026