lolcommits / lolcommits-slack

Automatically post lolcommits to Slack
https://lolcommits.github.io
GNU Lesser General Public License v3.0
11 stars 0 forks source link

Change token to API ? #8

Open cerw opened 4 years ago

cerw commented 4 years ago

Can not create token anymore whats' workaround?

matthutchinson commented 4 years ago

Slack have deprecated their old legacy token method for their API, I (or someone) needs to reimplement this plugin against their new auth.

nwhatt commented 3 years ago

In case anyone here is stuck - the plugin doesn't need to be re-implemented, the new auth works with the plugin as-is.

To get new auth set up for your team first create an app: image

Next to OAuth and Permissions: image

Add the files: write scope image

You need to "reinstall to workspace" image

Finally, grab the token from here: image

Someone could theoretically just publish a "lolcommits" app and remove a bunch of these steps.

matthutchinson commented 3 years ago

I'm looking to publish an official app soon, just seeing how I can work around grabbing OAuth credentials, since Slack needs a real (https served) domain for connecting to work. I figure I can use lolcommits.com tho, since I have that, then redirect to local server to complete the connect (like I do on the lolcommits-tumblr plugin).