-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I'm not sure which template to follow, so I will outline the problem I'm facing.
When I run this example(with the application I created on Zitadel cloud), on the callback I receive the error ClientError: invalid response encountered.
With a little further debugging, I was able to discover that the actual error message happening is one of the two: Unable to verify authorization request state or unexpected "state" response parameter encountered depending on how I force my hand.
I'm using the following configuration(and no env vars) for testing purposes:
app.use(await createZitadelMiddleware({
domain: 'REDACTED',
clientId: 'REDACTED',
callbackURL: 'http://localhost:3000/auth/callback',
sessionSecret: 'SECRET',
sessionDuration: 3600,
}));I have no clue why this is happening, hope you guys can help me. Nice app btw.
Metadata
Metadata
Assignees
Labels
No labels