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

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

Open
StefanoSalsano opened this issue May 6, 2020 · 22 comments

Comments

@StefanoSalsano
Copy link

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 ?

@StefanoSalsano StefanoSalsano changed the title is it possible to use slackin now ? (legacy tokens are not supported) is it possible to use slackin now ? (legacy tokens are not supported by Slack anymore) May 6, 2020
@dschinkel
Copy link

dschinkel commented May 12, 2020

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
Copy link

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
Copy link

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

@jordanvanbergen
Copy link

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

image

@jordanvanbergen
Copy link

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
Copy link

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
Copy link

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

@jordanvanbergen
Copy link

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
Copy link

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

@Lewiscowles1986
Copy link

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

@jordanvanbergen
Copy link

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
Copy link

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

@Lewiscowles1986
Copy link

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

@dschinkel
Copy link

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
Copy link

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
Copy link

sruti commented Aug 26, 2020

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

@dschinkel
Copy link

dschinkel commented Aug 26, 2020

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

@dschinkel
Copy link

I opened basically a complaint on it here integrations/slack#1063

@sruti
Copy link

sruti commented Sep 3, 2020

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
Copy link

Most people use the desktop client...

@slifty
Copy link

slifty commented Sep 22, 2020

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

@softmarshmallow
Copy link

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.

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

No branches or pull requests

7 participants