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

Configurabe base64 behaviour and log deprecations once by default #589

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

anakinj
Copy link
Member

@anakinj anakinj commented Feb 28, 2024

Description

The newly introduced deprecation warnings can become very spammy in certain situations. In very extreme conditions even clogging logging (pun intended:) systems that listens to stderr.

This PR:

  • Makes the deprecation warnings configurable and only warns once when they occur.
  • Configuration option to disable fallbacking to loose base64 decoding

Checklist

Before the PR can be merged be sure the following are checked:

  • There are tests for the fix or feature added/changed
  • A description of the changes and a reference to the PR has been added to CHANGELOG.md. More details in the CONTRIBUTING.md

@anakinj anakinj merged commit db99c67 into jwt:main Feb 29, 2024
34 checks passed
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.

1 participant