-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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 unnecessary details logged for OIDC #48271
Conversation
This commit removes unnecessary details logged for OIDC.
Pinging @elastic/es-security (:Security/Authentication) |
...ty/src/main/java/org/elasticsearch/xpack/security/authc/oidc/OpenIdConnectAuthenticator.java
Outdated
Show resolved
Hide resolved
...ty/src/main/java/org/elasticsearch/xpack/security/authc/oidc/OpenIdConnectAuthenticator.java
Outdated
Show resolved
Hide resolved
- truncate the string keeping first and last 2 chars. - the `OIDCTokenResponse` did not parse the error scenario correctly. - checks for the response status and then on error prints the response message as warning
...ty/src/main/java/org/elasticsearch/xpack/security/authc/oidc/OpenIdConnectAuthenticator.java
Outdated
Show resolved
Hide resolved
...ty/src/main/java/org/elasticsearch/xpack/security/authc/oidc/OpenIdConnectAuthenticator.java
Outdated
Show resolved
Hide resolved
...ty/src/main/java/org/elasticsearch/xpack/security/authc/oidc/OpenIdConnectAuthenticator.java
Outdated
Show resolved
Hide resolved
...ty/src/main/java/org/elasticsearch/xpack/security/authc/oidc/OpenIdConnectAuthenticator.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few comments
@elasticmachine run elasticsearch-ci/1 |
…ecurity/authc/oidc/OpenIdConnectAuthenticator.java Co-Authored-By: Ioannis Kakavas <ikakavas@protonmail.com>
Note that we are not dealing with any and all kinds of JWTs here. This is specifically concerning the OpenID Connect specification and OpenID Connect's ID Tokens, that are not used for authentication. |
I'll defer to @jkakavas on this one. |
Hi @jkakavas, I have addressed your review comments, Could you please take a look when you get some time? Thank you for your time. |
@jkakavas Can you run with this one. |
Superseded by #48746 |
This commit removes unnecessary details logged for OIDC.