Hooks

useSignOut()

The useSignOut() hook returns a function that signs out the current user using Supabase Auth and redirects them to the /sign-in page. If the sign out fails, the hook throws the error.

Unlock full documentation

This part of the documentation are for members only. Please upgrade your plan to unlock this section.

On this page