Skip to content

login_hint parameter with literal # character gets URL-encoded when using authorizationParams #732

@prajwalhn-18

Description

@prajwalhn-18

Checklist

Description

I need to pass a login_hint value containing a literal # (e.g., sample#ClientId=sample) so it appears in the authorization URL unencoded, but the library URL-encodes it (%23). I would need the literal # in the query parameter.

Reproduction

  1. Pass sample#ClientId=sample as login_hint in authorizationParams, this gets replaced with encoded url

Additional context

No response

express-openid-connect version

^2.19.2

Express version

4.21.2

Node.js version

20.13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions