Repository navigation
Conversation
🦋 Changeset detectedLatest commit: b7196d5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This was referenced Nov 18, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2872 +/- ##
==========================================
+ Coverage 94.34% 94.50% +0.16%
==========================================
Files 68 68
Lines 10897 10906 +9
Branches 697 697
==========================================
+ Hits 10281 10307 +26
+ Misses 585 569 -16
+ Partials 31 30 -1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This was referenced Nov 18, 2026
Draft
feat(methods): add entity.acknowledgeCommentAction method example
slack-samples/bolt-js-examples#432
Draft
zimeg
force-pushed
the
zimeg-feat-oauth-v2-complete-short-token-rotation
branch
from
November 18, 2026 06:17
be88579 to
7484585
Compare
zimeg
force-pushed
the
zimeg-feat-oauth-v2-user-access
branch
from
November 18, 2026 06:17
87ea9ec to
c0b8378
Compare
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
changed the base branch from
zimeg-feat-oauth-v2-complete-short-token-rotation
to
main
November 18, 2026 06:50
zimeg
force-pushed
the
zimeg-feat-oauth-v2-user-access
branch
from
November 18, 2026 06:50
c0b8378 to
b7196d5
Compare
This branch has not been deployed
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 the
oauth.v2.user.accessmethod to@slack/web-api.client.oauth.v2.user.access({ client_id, client_secret, code })exchanges an OAuth code for a user token, for apps that request only user scopes, such as MCP clients.oauth.v2.accessand addcode_verifierfor PKCE andassertionfor the JWT authorization grant.grant_typealso takesurn:ietf:params:oauth:grant-type:jwt-bearer, whichassertionneeds: without it the API reads the request as a code exchange.OauthV2UserAccessResponseis generated with thescripts/code_generator.rbquicktype options from the response on the docs page.This is the only pull request in the
oauthstack (batch B6 oauth tokens), and it's based onmain.oauth.v2.user.access👈 this pull requestTesting
https://slack.com/oauth/v2_user/authorizewith only user scopes, then callclient.oauth.v2.user.access({ client_id, client_secret, code })and confirmaccess_token,token_type: 'user'andauthed_user.A real
codeneeds a user to authorize in a browser, so the check used a test app's credentials with the docs example values. Acodereturned the documentedinvalid_code, arefresh_tokengrant returnedinvalid_refresh_token, and anassertionwith the JWT bearer grant returnedinvalid_jwt_format. Each layer of this stack was checked against a developer sandbox by running every method added so far, in order, with that layer'sWebClient.Requirements
🤖 Generated with Claude Code