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
Adding documentation for handleInstallPath, beforeRedirection, beforeInstallation, afterInstallation #1448
Conversation
…llPath`), as well as new before/after callbacks (`beforeRedirection`, `beforeInstallation`, `afterInstallation`). Updated the oauth package reference documentation.
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.
@filmaj Thanks for updating the docs! Left a few comments on the changes.
Co-authored-by: Kazuhiro Sera <seratch@gmail.com>
@filmaj I forgot to mention this in the review comment but we may want to add a new section in https://slack.dev/node-slack-sdk/oauth, which explains how to set custom cookies to the installer browser in |
@seratch good idea, will try to add that |
@seratch I have added a new section "Persisting data during the OAuth flow" where I hope I was able to depict the example of reading and writing from cookies and using the new callbacks. What do you think? |
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.
Looks great to me. Once we release @slack/oauth@2.5.0
, we can merge this document updates.
Also updated the oauth package reference documentation (that was pretty out of date)!
Summary
Describe the goal of this PR. Mention any related Issue numbers.
Requirements (place an
x
in each[ ]
)