supabase / auth-helpers

A collection of framework specific Auth utilities for working with Supabase.
https://supabase.github.io/auth-helpers/
MIT License
907 stars 236 forks source link

Supabase Is Broken with Nextjs13 App Directory #403

Closed quick007 closed 1 year ago

quick007 commented 1 year ago

Bug report

Describe the bug

When updating to nextjs version 13.0.7, this error ocurrs: TypeError: Cannot read properties of undefined (reading 'call') image I was able to more or less isolate the error as being from supabase-listener.ts (based on a user-created component, following the steps provided on the docs)

To Reproduce

Create a new project with supabase following these directions: https://supabase.com/docs/guides/auth/auth-helpers/nextjs-server-components

You can see my specific implementation if you're interested here: https://github.com/Amethyst-Realms/website

Expected behavior

No errors occuring.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

quick007 commented 1 year ago

Seems to be fixed with next@canary, so I'll close this issue for now and reopen it if that changes. (also tailwind is broken on canary yay)