Skip to content

Glossary: Firebase and Supabase

auth.uid()

Also written: auth.users

A Supabase SQL function that returns the signed-in user's ID, read from the request's JWT. `auth.users` is the table where Supabase Auth stores its users.

Where the book teaches it

Related terms

foreign keyrow-level security (RLS)ID token, JWT