Skip to content

"Invalid State" Error in GitHub OAuth2 #295

Open
@akama-aka

Description

@akama-aka

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Fastify version

5.2.1

Plugin version

8.1.2

Node.js version

20.18.3

Operating system

Linux

Operating system version (i.e. 20.04, 11.3, 10)

latest

Description

Hello,
I currently have an error where I keep getting the error message ‘Invalid State’. I have already read through the issue #218 and I have implemented the solution from the comment #218 (comment) but the problem still persists and I don't really know what to do.

Link to code that reproduces the bug

https://github.com/akama-aka/tos-license-gate

Expected Behavior

It should give me the state back.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions