Repository navigation
DISCO-142: Add SDK Token Command - #447
Merged
Patrick Tamunjoh (patricktamunjoh) merged 4 commits intoNov 2, 2026
Merged
Patrick Tamunjoh (patricktamunjoh) merged 4 commits into
Patrick Tamunjoh (patricktamunjoh) merged 4 commits into
Conversation
Patrick Tamunjoh (patricktamunjoh)
requested a review
from a team
as a code owner
October 30, 2026 13:21
…-sdk-token-command # Conflicts: # docs/command-graph.html # docs/user-guide/sdk-commands.md # src/commands/sdk/module.ts # tests/commands/sdk/module.spec.ts
|
Contributor
Author
|
Zgjim Haziri (@ZgjimHaziri) anything blocking us moving forward with this? |
Zgjim Haziri (ZgjimHaziri)
approved these changes
Nov 2, 2026
Patrick Tamunjoh (patricktamunjoh)
deleted the
feature/DISCO-142-add-sdk-token-command
branch
November 2, 2026 10:50
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.



Description
Adds a beta
content-cli sdk tokencommand that prints a token with only the SDK read scope, used to authenticate against the npm registry.ProfileService.acquireScopedToken: device code profiles refresh with the narrowed scope, store the rotated refresh token and are marked expired so later commands refresh with all scopes; client credentials profiles grant a scoped token without changing the profile; API key profiles fail.sdk tokencommand printing the raw token to stdout, so it can be used in scripts.Relevant links
Checklist