Repository navigation
feat: add AuthProviderBlock layout block support - #1985
Merged
Merged
Conversation
Models the auth_provider block from the standardized app authentication docs, matching slackapi/java-slack-sdk#1659 and slackapi/node-slack-sdk#2778. Block.parse now returns an AuthProviderBlock instead of skipping it. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1985 +/- ##
==========================================
+ Coverage 84.25% 84.35% +0.10%
==========================================
Files 118 118
Lines 13730 13793 +63
==========================================
+ Hits 11568 11635 +67
+ Misses 2162 2158 -4 ☔ View full report in Codecov by Harness. |
…locks Puts each max-length note on its own line, as the other text-object fields do, and adds the section divider the block test classes use. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
WilliamBergamin
marked this pull request as ready for review
October 15, 2026 20:30
zimeg
approved these changes
Oct 15, 2026
zimeg
left a comment
Member
There was a problem hiding this comment.
🧠 🔏 @WilliamBergamin Most exciting a feature
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
auth_providerlayout block asAuthProviderBlock, matching slackapi/java-slack-sdk#1659 and slackapi/node-slack-sdk#2778.Block.parsereturns anAuthProviderBlockinstead of skipping it as an unknown block.Testing
With an app that has
features.user_connectionsand the Home tab enabled:is_connected=True, aconnected_identity, and an overflowaccessory; confirm the connected state and menu render.Ran these steps with a Bolt app on a sandbox. Each
views_publishresponse's blocks parse back toAuthProviderBlock, including Slack's added context block infallback.Category
/docs(Documents)/tutorial(PythOnBoardingBot tutorial)tests/integration_tests(Automated tests for this library)Requirements
python3 -m venv .venv && source .venv/bin/activate && ./scripts/run_validation.shafter making the changes.🤖 Generated with Claude Code