© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
4 replies
Richie - Cap.so

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 🙏
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Supabase broadcast not working in local development
SupabaseSSupabase / help-and-questions
6mo ago
Receiving 8-digit OTP code instead of 6
SupabaseSSupabase / help-and-questions
3mo ago
Account Sign-In Not Working
SupabaseSSupabase / help-and-questions
6mo ago
Anonymous Sign in not working flutter
SupabaseSSupabase / help-and-questions
7mo ago