Repository navigation
feat: add Platform Account authentication - #725
Open
arjankowski wants to merge 1 commit into
Open
arjankowski wants to merge 1 commit into
arjankowski wants to merge 1 commit into
Conversation
arjankowski
force-pushed
the
feat/platform-account-auth
branch
from
October 6, 2026 13:02
8a6af37 to
f4f83f5
Compare
arjankowski
force-pushed
the
feat/platform-account-auth
branch
from
October 6, 2026 13:21
f4f83f5 to
7374ac3
Compare
mwwoda
approved these changes
Oct 8, 2026
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 a new authentication type, Platform Account. A Platform Account environment authenticates with a JWT signed by the app's key pair and always acts as the single Platform Account defined in the config file.
configure:environments:add --platform-account-authadds a Platform Account environment from the downloaded credentials file. The flag is exclusive with--ccg-authand--ccg-user.BoxPlatformAccountAuthdirectly. Legacy SDK commands usePlatformAccountSessionAdapter, which requests, caches, and refreshes tokens through the same auth object.--as-user, a default As-User (switch-user), the bulkas-userfield,tokens:get --user-id, andconfigure:environments:update --user-idare rejected with a clear error.tokens:exchangeis not supported, because Platform Account tokens cannot be downscoped.docs/authentication.md, plus regenerated command docs.