Repository navigation
Conversation
This was referenced Nov 18, 2026
zimeg
force-pushed
the
zimeg-feat-oauth-v2-examples-complete-short-token-rotation
branch
from
November 18, 2026 06:23
c3d0fe0 to
7b66e9c
Compare
zimeg
force-pushed
the
zimeg-feat-oauth-v2-user-examples-access
branch
from
November 18, 2026 06:23
3a6a70c to
e9160c8
Compare
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
changed the base branch from
zimeg-feat-oauth-v2-examples-complete-short-token-rotation
to
main
November 18, 2026 06:50
zimeg
force-pushed
the
zimeg-feat-oauth-v2-user-examples-access
branch
from
November 18, 2026 06:50
e9160c8 to
38b0ecd
Compare
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.user.accessinmethods/src/oauth/v2/user/oauth-v2-user-access.js, and lists it inmethods/README.md.codewith PKCE, using the reference page's example values forclient_id,client_secret,code,code_verifierandredirect_uri. The refresh and assertion grants are left out, since they replace thecode.This is the only pull request in the
oauthexamples stack (batch B6 oauth tokens), and it's based onmain.oauth.v2.user.access👈 this pull requestDependency
This depends on slackapi/node-slack-sdk#2872, which adds
oauth.v2.user.accessto@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/user && slack install --environment local.https://slack.com/oauth/v2_user/authorizewith only user scopes, replace the example values with your app's credentials and the returnedcode, thenslack run oauth-v2-user-access.jsand confirm theaccess_token.🤖 Generated with Claude Code