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 |
seratch
left a comment
There was a problem hiding this comment.
LGTM but I'd like to have other maintainers' reviews before merging this.
stevengill
left a comment
There was a problem hiding this comment.
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 |
stevengill
left a comment
There was a problem hiding this comment.
Thanks for making the changes. Looks good to me
Summary
This PR adds "userScopes" to
AppOptionsso that they may be populated when using the/slack/installresource.Requirements (place an
xin each[ ])