Skip to content
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 identity information to the "Add to Slack" flow. #56

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

kevinelliott
Copy link

@kevinelliott kevinelliott commented Aug 25, 2017

It is well known that Slack requires identity scopes to be separate from additional scopes. This typically requires pushing a user down the OAuth flow twice (once for "Sign in with Slack" and one with "Add to Slack").

This solution addresses that by gathering the information normally in the identity scopes from the "Add to Slack" flow by calling the auth.test and users.info APIs and stuffing the data conditionally.

Also, allow redirect_uri to be defined on the configuration.

I would like to see this get merged into master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant