Skip to content

Glossary: Firebase and Supabase

onAuthStateChanged

Also written: onAuthStateChange

A function that calls your callback with the current user, then again on every sign-in or sign-out. Firebase's version is `onAuthStateChanged` and supabase-js's is `onAuthStateChange`.

Where the book teaches it

Related terms

authentication (auth)