Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Store state parameter from oauth against team #657

Merged
merged 1 commit into from
Mar 9, 2017

Conversation

davidwneary
Copy link
Contributor

I display the 'Add to slack' button on my website and submit the logged in user's id using the state parameter when clicked. However, it appears that parameter is currently not accessible in botkit. This fix works locally in my certain case, but as I'm new to botkit there may be issues with this implementation that I'm unaware of so I'd appreciate any feedback.

Thanks

I display the 'Add to slack' button on my website and I would like to send the logged in user's id when the button is clicked. To do so I use the `state` parameter but it appears that parameter is currently never accessible. This fix works locally in my certain case, but as I'm new to botkit there may be issues with this implementation that I'm unaware of.
@alecl
Copy link
Contributor

alecl commented Mar 5, 2017

This seems worthwhile for allowing more data to be passed through on bot add.

@benbrown benbrown merged commit 8f1426b into howdyai:master Mar 9, 2017
@benbrown
Copy link
Contributor

benbrown commented Mar 9, 2017

thank you!

@davidwneary davidwneary deleted the patch-1 branch April 28, 2017 17:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants