arjunattam / vscode-chat

Chat with your team while you collaborate over code using VS Live Share
https://marketplace.visualstudio.com/items?itemName=karigari.chat
GNU General Public License v3.0
531 stars 68 forks source link

Add to Slack button doesn't add to Slack #458

Open brunogirin opened 4 years ago

brunogirin commented 4 years ago

I was trying to use the extension with Slack and followed the instructions to add it to our Slack channel. When I click on the "Add to Slack" button, I am redirected to the marketplace page and nothing is added to Slack.

The screen where the "Add to Slack" button is:

Annotation 2020-03-13 162717

cyberbiont commented 4 years ago

Same problem.

michalzadkowski commented 4 years ago

The site vscode.chat which is supposed to redirect to slack confirming the permissions is down. Is this something that is going to be addressed? I mean, I don't think theres currently a way to set up slack as a chat agent for VSCode. Am I wrong?

arjunattam commented 4 years ago

Hi, you can run the "Chat: Configure access token" command in the meanwhile. This command is available in the command palette—use cmd+shift+P on a Mac or F1 on Windows to open it.

michalzadkowski commented 4 years ago

@arjun27 Thanks, haven't thought of this. However, I'm not sure where to get the token from. Is this the one that is the part of the url when I accept slack oauth permission request?

https://vscode.chat/slack_redirect?code=aaa.bbb.ccc&state=

Which part then?

Edit: when I'm pasting the whole aaa.bbb.ccc string, I'm getting the The Slack token cannot be validated. Please enter a valid token. message.

arjunattam commented 4 years ago

Apologies, I didn't realize the docs were light on that bit. You can generate a token on this web page: https://api.slack.com/legacy/custom-integrations/legacy-tokens

I understand that Slack tokens are getting deprecated on May 6. I should be able to get the OAuth redirection up and running till then. Thanks for your patience!

GregSansoni commented 4 years ago

any update?

dapriett commented 4 years ago

Hi @arjun27 - thank you for the extension!

Is there a workaround for slack integration? Looks like https://vscode.chat/ is down, and slack no longer supports legacy tokens.

Thanks!

arjunattam commented 4 years ago

Thanks @dapriett. I'll get this back up this week. Apologies for the delays.