Skip to content

[improve][client] Implement tls_client_auth for OAuth2#1514

Merged
nodece merged 2 commits into
apache:masterfrom
izumo27:add_tls-client-auth
Jun 22, 2026
Merged

[improve][client] Implement tls_client_auth for OAuth2#1514
nodece merged 2 commits into
apache:masterfrom
izumo27:add_tls-client-auth

Conversation

@izumo27

@izumo27 izumo27 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Motivation

Currently, ClientCredentialsFlow of AuthOauth2 supports only client_secret_post.
This PR adds tls_client_auth.
cf. apache/pulsar#25538

Modifications

  • Add clientId, tlsCertFile, tlsKeyFile, and trustCertsFilePath params.
    • tlsCertFile and tlsKeyFile params are required for tls_client_auth.

Verifying this change

This change added tests and can be verified as follows:

  • Added tests for tls_client_auth

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): no
  • The public API: no
  • The schema: no
  • The default values of configurations: no
  • The wire protocol: no

Documentation

  • Does this pull request introduce a new feature? yes
  • If yes, how is the feature documented? GoDocs

@nodece nodece merged commit 27e4313 into apache:master Jun 22, 2026
7 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