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

Slack Login Authentication function #46

Closed
1 task
m4ndycheung opened this issue Jan 27, 2024 · 2 comments · Fixed by #61
Closed
1 task

Slack Login Authentication function #46

m4ndycheung opened this issue Jan 27, 2024 · 2 comments · Fixed by #61
Assignees

Comments

@m4ndycheung
Copy link
Owner

m4ndycheung commented Jan 27, 2024

Dependent on tickets #45 and #47 to be completed so we have a CLIENT ID and CLIENT SECRET.

To do:

Dev Notes:

@m4ndycheung
Copy link
Owner Author

Hello teamies :) I had a look into getting the Slack Access Tokens and ran into some issues along the way.
If you run into any of these, the following may help you:

  • The Slack github is very useful but I struggled with these things:
  • We've already created an app, the instructions talk about creating one with a Manifest - that's basically a blueprint for the app configuration.
  • ngrok - Douglas said we may not need to use this but we do if we want to test the Slack App on localhost. As in the Slack app, when changing the redirect url, it won't accept anything that starts with "http", only "https".
  • I found the instructions in the Slack github to be on the sparse side, so I signed up to ngrok and followed the instructions to install it here: https://ngrok.com/docs/getting-started/?os=linux
  • If you're using ngrok, you'll need to "start it up". It looks like this:

Image
-Everytime you shut down ngrok in terminal and restart it, your redirect url will also change, and it'll need to be changed in the app and .env

  • The slack Github is also written in Kao and Router instead of Express

@m4ndycheung
Copy link
Owner Author

Note: This ticket appears to cover #48 and #49

From this point we could make a ticket to do something with the data Irianni receives :)

@m4ndycheung m4ndycheung linked a pull request Feb 1, 2024 that will close this issue
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 a pull request may close this issue.

2 participants