Skip to content

Regression - useSupabaseUser() no longer reactive to sign ups. #539

@MichaelJCole

Description

@MichaelJCole

Version

@nuxtjs/supabase: v2.0.1
nuxt: 3.17.1

Steps to reproduce

  const { data, error } = await this.supabase.auth.signUp({
    email,
    password: hashForLogin
  })
  this.user = useSupabaseUser()

  console.log('AuthManager: Supabase signup response:', { data, error })
  console.log('user:', this.user?.value)

What is Expected?

In the previous version (1.5.0), useSupabaseUser() returned a reactive that had the updated user.

What is actually happening?

In the new version, useSupabaseUser() isn't reactive or not being updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions