Skip to content

[FLINK-38935] Change case of Bearer keyword#15

Merged
ferenc-csaky merged 1 commit into
apache:mainfrom
davidradl:FLINK-38935
Jan 20, 2026
Merged

[FLINK-38935] Change case of Bearer keyword#15
ferenc-csaky merged 1 commit into
apache:mainfrom
davidradl:FLINK-38935

Conversation

@davidradl

Copy link
Copy Markdown
Contributor

Fix Bearer token casing in OIDC Authorization header from "BEARER" to "Bearer" to comply with RFC 6750.
Port of GetIndata PR getindata/flink-http-connector#203.)

Signed-off-by: davidradl <david_radley@uk.ibm.com>
@davidradl

Copy link
Copy Markdown
Contributor Author

Hi @ferenc-csaky please could you have a look at this one.

import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;
import static org.assertj.core.api.Assertions.assertThat;

class OIDCAuthHeaderValuePreprocessorTest {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not the scope of the current PR, but but there are a lot of duplications in quite some test classes. We could create some test utils for the common logic, e.g. initializing a mock server.

@ferenc-csaky
ferenc-csaky merged commit 2a534ec into apache:main Jan 20, 2026
3 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.

2 participants