Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

"State" gets encoded and causes "collectInfoFromReq: invalid state received" #309

Closed
@AskYous

Description

When I try to authenticate, I received the following error:

authentication failed due to: In collectInfoFromReq: invalid state received in the request

When the user is forwarded to the authorization endpoint, the state I have is this:

CUSTOMdujKnvj%2BJ1ezw5qrAUW6RaHqAUtiU1jxmy_state

When they're forwarded back to the redirectUri, the state is this:

CUSTOMdujKnvj+J1ezw5qrAUW6RaHqAUtiU1jxmy_state

Notice the difference:
image

Looks like the '+' is being encoded where it wasn't before.

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions