Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Ambiguous handling of multiple keys when allow_missing_kid and no_kid_issuer are not set #188

Copy link
Copy link
@lionick

Description

@lionick
Issue body actions

In the _add_key method, when multiple keys (_add_keys) are retrieved for an issuer but neither allow_missing_kid is True nor no_kid_issuer is provided for the issuer, the function does not add any keys to the keys list. This situation leads to silent failure, with no keys added.

Here is the part of the code:
https://github.com/IdentityPython/JWTConnect-Python-CryptoJWT/blob/main/src/cryptojwt/key_jar.py#L491

Reactions are currently unavailable

Metadata

Metadata

Assignees

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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.