Repository navigation
Conversation
This was referenced Nov 18, 2026
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
force-pushed
the
zimeg-feat-entity-examples-present-comments
branch
from
November 18, 2026 06:22
a80714a to
c439f93
Compare
zimeg
changed the base branch from
zimeg-feat-entity-examples-present-comments
to
main
November 18, 2026 06:23
zimeg
force-pushed
the
zimeg-feat-oauth-v2-examples-begin-short-token-rotation
branch
from
November 18, 2026 06:23
a0804d2 to
422dc93
Compare
Member
Author
|
Closing for now. Short-secret tokens only exist for apps created before August 2016, so these rotation methods aren't in scope for this release. |
zimeg
deleted the
zimeg-feat-oauth-v2-examples-begin-short-token-rotation
branch
November 18, 2026 06:51
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.
Summary
This pull request adds a method example for
oauth.v2.beginShortTokenRotationinmethods/src/oauth/v2/oauth-v2-begin-short-token-rotation.js, and lists it inmethods/README.md.This is part 1 of 3 in the
oauthexamples stack (batch B6 oauth tokens). Each pull request builds on the one before it and merges on its own, bottom to top. The stack starts onmain.oauth.v2.beginShortTokenRotation👈 this pull requestoauth.v2.completeShortTokenRotationoauth.v2.user.accessDependency
This depends on slackapi/node-slack-sdk#2870, which adds
oauth.v2.beginShortTokenRotationto@slack/web-api. It hasn't been released yet, sonpm run checkfails until a release ships it andmethods/package.jsonpins that version. The example type-checks and runs against a local build of that branch.Testing
cd methods/src/oauth/v2 && slack install --environment local.client_id,client_secretandtokenwith your app's credentials and a user token issued to it before August 19, 2016, thenslack run oauth-v2-begin-short-token-rotation.jsand confirm thenew_token. A newer token returnstoken_too_long.🤖 Generated with Claude Code