ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseโ€ข4y agoโ€ข
6 replies
mmartin

Error api _supabase session 405 in Nuxt3

I have an error when i try to sign in with google in my app, when i already logged into my google account and i go back to my app with redirect, in browser console i get this error:

POST https://mydomain.dev/api/_supabase/session 405
Uncaught (in promise) FetchError: 405 (/api/_supabase/session)
at async Object.callback (entry.af57154f.js:5:118018)

This only happens when I build my app and deploy it to Cloudflare Page or Netlify, everething works fine locally.
The plugin that I'm using is @nuxtjs/supabase 3.0.0 and the Nuxt version is 3.0.0 stable
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

Unexpected 405 Error on Supabase Studio
SupabaseSSupabase / help-and-questions
3mo ago
supabase.auth.session() Error
SupabaseSSupabase / help-and-questions
4y ago
nuxt3 & supabase safety
SupabaseSSupabase / help-and-questions
4y ago
Supabase API Error
SupabaseSSupabase / help-and-questions
4mo ago