Skip to content

Cant set kid header parameter #276

@DanielMcAssey

Description

@DanielMcAssey

Subject of the issue

When using JWKS and have multiple keys, you cant set a KID header parameter, causing token validation failure

Your environment:

Q A
Bug? no
New Feature? yes
Framework Laravel
Framework version 11.x
Package version 2.7.3
PHP version 8.1

Steps to reproduce

Use public/private key generation, provide a JWKS for validation, generate a JWT token, the KID parameter is missing in token

Expected behaviour

Should provide KID header in token

Actual behaviour

No KID token in header

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