© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
11 replies
turtle

@supabase/ssr signout nextjs app-router

I'm having issues trying to use ssr signout exactly as it is written in the current nextjs supabase authbutton component.

AuthButton component.
https://github.com/vercel/next.js/blob/canary/examples/with-supabase/components/AuthButton.tsx

The errors I'm getting:
app-index.js:34 Warning: Cannot update a component (`HotReload`) while rendering a different component (`Router`).

react-dom.development.js:8585 Uncaught Error: Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.
app-index.js:34 Warning: Cannot update a component (`HotReload`) while rendering a different component (`Router`).

react-dom.development.js:8585 Uncaught Error: Only plain objects, and a few built-ins, can be passed to Server Actions. Classes or null prototypes are not supported.
GitHub
next.js/examples/with-supabase/components/AuthButton.tsx at canary ...
The React Framework. Contribute to vercel/next.js development by creating an account on GitHub.
next.js/examples/with-supabase/components/AuthButton.tsx at canary ...
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

Nextjs Pages Router & @supabase/ssr: how to get session in middleware
SupabaseSSupabase / help-and-questions
7mo ago
Why is @supabase/auth-helpers-nextjs replaced by @supabase/ssr ?
SupabaseSSupabase / help-and-questions
3y ago
NextJs Supabase SSR rate limit with cache wrapper...
SupabaseSSupabase / help-and-questions
3y ago
RequestAsyncStorage error with NextJS 14 and @supabase/ssr
SupabaseSSupabase / help-and-questions
3y ago