Skip to content

feat(auth): add OAuth token command#112

Merged
Ramon Nogueira (ramon-langchain) merged 4 commits into
mainfrom
ramonn/auth-token-command
May 7, 2026
Merged

feat(auth): add OAuth token command#112
Ramon Nogueira (ramon-langchain) merged 4 commits into
mainfrom
ramonn/auth-token-command

Conversation

@ramon-langchain
Copy link
Copy Markdown
Member

Adds langsmith auth token to print the selected OAuth profile access token. The command refreshes and saves the token first when the saved access token is expired or near expiry, and it ignores API-key auth so LANGSMITH_API_KEY does not mask a saved OAuth profile.

Test Plan

  • go test ./internal/cmd

@ramon-langchain Ramon Nogueira (ramon-langchain) marked this pull request as ready for review May 6, 2026 20:18
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm, can we update docs?

@ramon-langchain Ramon Nogueira (ramon-langchain) merged commit bf4e9df into main May 7, 2026
10 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