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

Use DEBUG to log invalid authorization header in OAuth2TokenExtractor #5874

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

ikhoon
Copy link
Contributor

@ikhoon ikhoon commented Aug 14, 2024

Motivation:

Invalid authorization is a client error so there isn't much a server maintainer can do. It seems better to use DEBUG to detect problems during development. WARN could be noisy because it may be related to a monitoring system.

Modifications:

  • Use DEBUG to log an invalid authorization header.

Result:

An invalid authorization header is now logged at DEBUG by the OAuth2 token extractor.

…actor`

Motivation:

Invalid authorization is a client error so it isn't much a server
maintainer can do. It seems better to use `DEBUG` to detect problems
during development. `WARN` could be noisy because it may be related to
a monitoring system.

Modifications:

- Use `DEBUG` to log an invalid authorization header.

Result:

An invalid authorization header is now logged at `DEBUG` by the OAuth2
token extractor.
@ikhoon ikhoon added the cleanup label Aug 14, 2024
@ikhoon ikhoon added this to the 1.31.0 milestone Aug 14, 2024
Copy link
Contributor

@jrhee17 jrhee17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 👍 👍

@ikhoon ikhoon changed the title Use DEBUG to log invalid authorization header in `OAuth2TokenExtr… Use DEBUG to log invalid authorization header in OAuth2TokenExtractor Aug 22, 2024
@github-actions github-actions bot added the Stale label Sep 22, 2024
Copy link
Contributor

@minwoox minwoox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 👍 👍

@github-actions github-actions bot removed the Stale label Sep 24, 2024
@ikhoon ikhoon merged commit b91d432 into line:main Sep 24, 2024
15 checks passed
@ikhoon ikhoon deleted the no-warn-OAuth2TokenExtractor branch September 24, 2024 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants