Skip to content

Add url, team, user to AuthorizeResult properties - #891

Merged
seratch merged 2 commits into
slackapi:mainfrom
seratch:authorize-result-more-props
Apr 26, 2023
Merged

seratch merged 2 commits into
slackapi:mainfrom
seratch:authorize-result-more-props

Conversation

@seratch

@seratch seratch commented Apr 26, 2023

Copy link
Copy Markdown
Contributor

This pull request adds the following three properties to AuthorizeResult as optional ones.

  • team: team's name
  • url: team's slack.com domain URL
  • user: user's name

These new properties are returned in auth.test API. There is no breaking change to existing apps. If they want to consume these properties, they can access them via context.authorize_result.url etc.

Category (place an x in each of the [ ])

  • slack_bolt.App and/or its core components
  • slack_bolt.async_app.AsyncApp and/or its core components
  • Adapters in slack_bolt.adapter
  • Document pages under /docs
  • Others

Requirements (place an x in each [ ])

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run ./scripts/install_all_and_run_tests.sh after making the changes.

@seratch seratch added this to the 1.18.0 milestone Apr 26, 2023
@seratch seratch self-assigned this Apr 26, 2023
@seratch
seratch merged commit 9970748 into slackapi:main Apr 26, 2023
@seratch
seratch deleted the authorize-result-more-props branch April 26, 2023 07:16
seratch added a commit to seratch/java-slack-sdk that referenced this pull request Apr 26, 2023
seratch added a commit to slackapi/java-slack-sdk that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant