Skip to content

"Unable to verify authorization request state." Error #39

@podplatnikm

Description

@podplatnikm

Hello guys,

I am currently implementing Passport Twitter Auth in Nestjs using this library but I came across an error I can not solve:
"Unable to verify authorization request state." I have read comments about this issue online but none of them work for me.
I am using this on the localhost:3000

my express-session config:

  app.use(
    session({
      store: redisStore,
      secret: 'my-secret',
      resave: false,
      saveUninitialized: true,
      cookie: { secure: false, sameSite: false },
      // cookie: { secure: false, sameSite: "lax" },
    }),
  );

any idea what could go wrong here?

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