Skip to content

Having ?code= in the URL logs out users #289

@jetlej

Description

@jetlej

Version

@nuxtjs/supabase: 1.1.2
nuxt: 3.7.0

Steps to reproduce

Add a ?code= parameter to any URL while logged in

What is actually happening?

A POST request is sent to https://[id].supabase.co/auth/v1/token?grant_type=pkce, which returns a 403 FORBIDDEN, and then logs the user out.

I'm using the Google API, which must return a ?code URL parameter.

Screenshot 2023-10-07 at 9 41 37 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    StalebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions