Supabase Auth (GoTrue) – the authentication handler
Supabase Auth, formerly known as GoTrue, is an auth API server written in Go. It’s what I refer to as the authentication service. It was originally created by Netlify. However, Supabase forked it and now builds upon it (https://github.com/supabase/auth).
In the next chapter, you’ll be setting up your first Supabase JavaScript client, which has a lot of convenient methods for the features of your Supabase instance. When you call the convenient supabaseClient.signUp(..)
method, it requests the Auth server at its /auth/signup
endpoint. Even though you can (and should) always use convenient functions such as signUp(..)
, it is interesting to know that everything in Supabase is based on REST APIs and hence you are not dependent on any specific framework.
Auth itself does not care about permissions, it cares only about authentication, such as sign-ups, login, recovery, profile changes, and so on. The job of giving...