Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove side effect of default JWT usage. #228

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cjyar
Copy link

@cjyar cjyar commented Jan 22, 2024

Overview

I think this code is wrong. As written, it modifies the config object instead of assigning the default issuer to the expected struct. I believe it means the first JWT validation in the lifespan of the process will fail, but subsequent validations will work.

Contributor Checklist

[X] Add relevant docs to upstream Vault repository, or sufficient reasoning why docs won’t be added yet
This bug fix should be nearly invisible to the user.
[ ] Add output for any tests not ran in CI to the PR description (eg, acceptance tests)
[X] Backwards compatible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant