Access Token Via OAuth client credentials flow#72
Open
jason-alaya-sf wants to merge 5 commits into
Open
Conversation
judy-lin
reviewed
Jun 22, 2026
| * Salesforce Pub/Sub API Version 1. | ||
| */ | ||
|
|
||
| syntax = "proto3"; |
Contributor
There was a problem hiding this comment.
Did we change the formatting of this entire file per some standard?
Contributor
Author
There was a problem hiding this comment.
The main change is Removing the comment // For internal Salesforce use only from the auth_refresh fields in FetchRequest, PublishRequest, and ManagedFetchRequest.
Bump Java 11->17, grpc 1.64.0->1.79.0, protoc 3.25.3->3.25.8, protoc-gen-grpc-java 1.64.0->1.79.0, and protobuf-maven-plugin 0.5.0->0.6.1 to align with EventBusAPI/pom.xml.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds OAuth2 client-credentials authentication to the Java examples, configured via
CONSUMER_KEY/CONSUMER_SECRET/TENANT_ID. The Subscribe example periodically mints a fresh
access token (orgJWT) and sends it over the stream in FetchRequest.auth_refresh to keep
long-lived subscriptions authenticated