rauchg / slackin

Public Slack organizations made easy
http://rauchg.com/slackin/
MIT License
6.5k stars 1.35k forks source link

is it possible to use slackin now ? (legacy tokens are not supported by Slack anymore) #416

Open StefanoSalsano opened 4 years ago

StefanoSalsano commented 4 years ago

Slack no longer support the use of legacy tokens and replaces them with Slack apps. This was already mentioned in issue #412 :

It looks like you can still create legacy tokens until May 5th here: https://api.slack.com/legacy/custom-integrations/legacy-tokens

After legacy tokens are deprecated, it seems only Enterprise Slack teams will be able to use auto-invite flows/apps, because the admin.users.invite api method is restricted: https://api.slack.com/methods/admin.users.invite

is there a way to use slackin now ?

dschinkel commented 4 years ago

Looks like now you can just generate your own url to share

Screen Shot 2020-05-12 at 1 39 09 AM

So slackin is dead because going to that generated url gives you essentially what slackin gave you https://join.slack.com/t/wedotdd/shared_invite/zt-e6fv7idi-xJojTQxM6rmjUvMGPYbXmg Screen Shot 2020-05-12 at 1 49 52 AM

Now all you need to do is direct users to that instead.

jordanvanbergen commented 4 years ago

Looks like now you can just generate your own url to share

Screen Shot 2020-05-12 at 1 39 09 AM

So slackin is dead because going to that generated url gives you essentially what slackin gave you https://join.slack.com/t/wedotdd/shared_invite/zt-e6fv7idi-xJojTQxM6rmjUvMGPYbXmg Screen Shot 2020-05-12 at 1 49 52 AM

Now all you need to do is direct users to that instead.

Invite links will expire due to security reasons. So you have I think 30 days and you need to recreate the invite link again.

dschinkel commented 4 years ago

where are you seeing that? Just wondering how you know that since the above does not mention that.

jordanvanbergen commented 4 years ago

where are you seeing that? Just wondering how you know that since the above does not mention that.

image

jordanvanbergen commented 4 years ago

where is this even from? This tells me nothing. What I showed you was the actual slack workspace that said it's not going to expire!

This has changed:

image

And when you click share invite link:

image

So share invite links expire < 30 days.

dschinkel commented 4 years ago

Yea something's odd. One of my workspaces shows it's not going to expire but a new workspace I just created, the shared link in that one does say it expires. Now I'm really confused.

dschinkel commented 4 years ago

I'm attending the Slack call tomorrow where they talk about the roadmap. If I can I'll ask about it.

jordanvanbergen commented 4 years ago

I'm attending the Slack call tomorrow where they talk about the roadmap. If I can I'll ask about it.

It's possible ! I needed to deactive the link. Create a new one with a CUSTOM expire date and you can select never expire. So it's working with never expire.

dschinkel commented 4 years ago

ah ok that must be what I did different. Interesting.

Lewiscowles1986 commented 4 years ago

They should still provision for this to work via oauth bot scopes

jordanvanbergen commented 4 years ago

They should still provision for this to work via oauth bot scopes

You say should. We can't make a legacy token any longer. So if someone knows how to setup a connection to the api that would be nice. Until then only not expiring invite links from within Slack itself are possilbe.

Lewiscowles1986 commented 4 years ago

Yes that is the option I've gone for, archiving the fork of this repo

Lewiscowles1986 commented 4 years ago

Long term will probably look for a chat software a bit more suited to needs

dschinkel commented 4 years ago

TBH, this is much easier (no offense to the creators) just using slack. Slackin required a server for what I can just now do via native slack.

dschinkel commented 3 years ago

I don't know what Slack is doing. Now it expires again in their latest build:

Screen Shot 2020-08-23 at 7 50 10 PM Screen Shot 2020-08-23 at 7 50 18 PM

sruti commented 3 years ago

I was able to create a link that never expires today, not sure why the option exists for some and not others...

dschinkel commented 3 years ago

did you upgrade to the latest version of Slack? 4.8.0 took the option away

dschinkel commented 3 years ago

I opened basically a complaint on it here https://github.com/integrations/slack/issues/1063

sruti commented 3 years ago

did you upgrade to the latest version of Slack? 4.8.0 took the option away

I used the webapp and not the desktop app, maybe that's the difference. I'm guessing I'm using the latest version.

dschinkel commented 3 years ago

Most people use the desktop client...

slifty commented 3 years ago

It appears that paid organizations can create invitations that never expire; free orgs have a 30 day expiration.

softmarshmallow commented 3 years ago

Is invitation link generation as api not requires enterprise version?, if so we can alt this project to generate it with cron job, redirect them on the existing ui.