Skip to content

OIDC Login Module with JWT token support#6304

Open
grgrzybek wants to merge 5 commits intoapache:mainfrom
grgrzybek:oidc
Open

OIDC Login Module with JWT token support#6304
grgrzybek wants to merge 5 commits intoapache:mainfrom
grgrzybek:oidc

Conversation

@grgrzybek
Copy link
Contributor

No description provided.

* support for fetching OIDC metadata
* caching and handling JWK keys
* JAAS Login module that verifies claims and JWT signature
* extensive test coverage
* based on JDK HTTP Client
* JAAS string-based configuration (etc/login.config)
@grgrzybek grgrzybek changed the title OIDC OIDC Login Module with JWT token support Mar 19, 2026
* is a specific type of proof from RFC 7515 (JSON Web Signature (JWS)) and represents an SHA-256 digest
* of DER encoded certificate ("x5" = X.509, "t" = thumbprint).</p>
*/
private boolean requireOAuth2MTLS;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this config should be to disable the check, and should be off by default. Then the behaviour is to validated any tls claim that is in the token. To my mind, this means that we respect those tokens by defailt and if they are present (the token should be used with mtls, and the option is not disabled and the connection does not have a matching cert, we fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll rephrase the option and change the tests soon.

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