-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add userScopes to AppOptions #540
Conversation
- Support for userScopes is already provided by @slack/oauth
Codecov Report
@@ Coverage Diff @@
## main #540 +/- ##
=======================================
Coverage 83.13% 83.13%
=======================================
Files 7 7
Lines 593 593
Branches 184 184
=======================================
Hits 493 493
Misses 68 68
Partials 32 32
Continue to review full report at Codecov.
|
Related issue: #541 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I'd like to have other maintainers' reviews before merging this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @joshmcgrath08!
Thanks for sending this in. Seems like a great addition. Only change I'd like to request is that instead of making userScopes
top level in AppOptions
, we instead put it inside of the installerOptions
object. The idea is that we keep the minimum and most common options top level in App Options and move the rest of the OAuth related options into installerOptions
. Do you mind making that change?
Thanks for the quick feedback. Happy to make that change. I'll update the
pr tonight.
…On Tue, Jul 7, 2020, 2:25 PM Steve Gill ***@***.***> wrote:
***@***.**** requested changes on this pull request.
Hey @joshmcgrath08 <https://github.com/joshmcgrath08>!
Thanks for sending this in. Seems like a great addition. Only change I'd
like to request is that instead of making userScopes top level in
AppOptions, we instead put it inside of the installerOptions object. The
idea is that we keep the minimum and most common options top level in App
Options and move the rest of the OAuth related options into
installerOptions. Do you mind making that change?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#540 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATUU5ENOJAA5HFHNWS37DLR2NSAPANCNFSM4ORBC3VQ>
.
|
- Move `userScopes` under `InstallerOptions` instead of being a top level of `AppOptions`
@stevengill I moved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the changes. Looks good to me
Summary
This PR adds "userScopes" to
AppOptions
so that they may be populated when using the/slack/install
resource.Requirements (place an
x
in each[ ]
)