useAuthClient()

A React hook that returns the auth library corresponding to your chosen auth integration.

A React hook that returns the auth library corresponding to your chosen auth integration. This hook returns null until the auth client is installed and initialized with your credentials. If you are using Firebase, it will return their Javascript SDK. If you are using Stytch, it will return the Vanilla JS version of their Javascript SDK.

Last updated