Skip to content

auth client signOut() does nothing? #215

@stlbucket

Description

@stlbucket

https://supabase.nuxtjs.org/usage/composables/use-supabase-auth-client#signout

Everything else is working with my supabase auth client, but signOut does nothing. There is no call to supabase auth at all. No error is thrown.

<script setup>
const client = useSupabaseAuthClient()
</script>

<template>
  <UButton @click="client.auth.signOut()">Logout</UButton>
</template>

that is my code - almost exactly as in the link.

any idea why this is not working?

This was working for me previously. A new version of supabase-js seems to have released yesterday. Is it possible this has caused a problem?

I am using pnpm + turborepo

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions