You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm seeing "Cannot destructure property 'user' of 'data.session' as it is null." pop up in the top right any time I try to create a user.
I can see the users being created in the auth.users schema of the test supabase project I've created for this. I also receive an email which I can try to confirm. However, it continues to fire this error every time I attempt to register a user (even if it's one I can see exists in the auth.users table already from prior attempts). Even when the email is confirmed (and I can see that the auth.users table reflects that), it still says to retry the login/password (although, it's unclear to me if the issue then is that the same user email has been attempted and is in the auth.users table multiple times).
To Reproduce
Steps to reproduce the behavior:
Follow the README.md instructions exactly.
Create a new Supabase project that is empty.
Use the provided Supabase credentials.
Run "npm run dev"
Attempt to register a user.
Expected behavior
Login success or a prompt to confirm email.
Screenshots
Probably not needed.
Desktop (please complete the following information):
OS: MacOS w/ ARM64
Browser: Chrome + Safari both have this issue
Version: Latest of each as of the current date.
Additional context
The instructions are a little bit unclear as to the role that that Prisma db being created locally is playing as opposed to the Supabase DB. I was guessing one is dev and one is prod. However, I did try configuring the database url to be either the local prisma database or the supabase dabase url and the outcome is the same regardless.
The text was updated successfully, but these errors were encountered:
Do you have on supabase ? Do you see tables there after migration?
Users are registered on Database aswell not only on Supabase, would you be able to confirm that user exists on both places?
Prisma is used to create database which is on Supabase as well.
I'll try to reproduce with empty Supabase Project and Local db and update if neccessary. If you have any ideas we can debug together and solve faster .
@LymanBE I'm unable to reproduce this, if you can provide me with more information that would be helpful.
I have 1 idea about it so make sure confirm email confirm is not enabled. Let me know if this solves the issue, I don't recall if this is enabled by default.
Describe the bug
I'm seeing "Cannot destructure property 'user' of 'data.session' as it is null." pop up in the top right any time I try to create a user.
I can see the users being created in the auth.users schema of the test supabase project I've created for this. I also receive an email which I can try to confirm. However, it continues to fire this error every time I attempt to register a user (even if it's one I can see exists in the auth.users table already from prior attempts). Even when the email is confirmed (and I can see that the auth.users table reflects that), it still says to retry the login/password (although, it's unclear to me if the issue then is that the same user email has been attempted and is in the auth.users table multiple times).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Login success or a prompt to confirm email.
Screenshots
Probably not needed.
Desktop (please complete the following information):
Additional context
The instructions are a little bit unclear as to the role that that Prisma db being created locally is playing as opposed to the Supabase DB. I was guessing one is dev and one is prod. However, I did try configuring the database url to be either the local prisma database or the supabase dabase url and the outcome is the same regardless.
The text was updated successfully, but these errors were encountered: