Local supabase 6 digit code sign in not working

Hey everyone!

Trying to use a local Supabase instance for the first time, (usually I just use the main Supabase dashboard).

Having a problem with auth in a Tauri (Vite) app. The 6 digit code to log in works if I use a db created in the main dashboard, but fails if I use the local one.

Here's a link to my codebase:
https://github.com/cap-so/cap/tree/main/supabase

Error message of "error: AuthApiError: Token has expired or is invalid" when submitting the code.

Code for the SignIn component can be found here:
https://github.com/cap-so/cap/blob/main/apps/desktop/src/components/windows/inner/SignIn.tsx

As well as that, my custom magic link email is also not working. Still sends out the default. The new one can be found in /supabase/config.toml

Would appreciate any support 🙏
Was this page helpful?