Giter VIP home page Giter VIP logo

Comments (9)

insomniacslk avatar insomniacslk commented on May 28, 2024

is there an announced deprecation date? If so, we need an alternative method

from irc-slack.

habys avatar habys commented on May 28, 2024

https://api.slack.com/legacy/custom-integrations/legacy-tokens
reports:
This tool will not allow creation of new tokens beginning May 5th, 2020. Learn more about why you shouldn't use it anymore.

from irc-slack.

insomniacslk avatar insomniacslk commented on May 28, 2024

If I understand correctly, the only option is to create a Slack App, and Slack Apps don't allow posting on behalf of the user. They also have to be installed on each Slack where they are used. If so, I believe that using Slack via IRC will not be possible anymore after legacy tokens are disabled

from irc-slack.

janza avatar janza commented on May 28, 2024

If I'm reading the documentation correct it should still be possible to impersonate the user with Apps: https://api.slack.com/messaging/sending#impersonation. We'd need to use user token with the App https://api.slack.com/authentication/token-types#user

from irc-slack.

insomniacslk avatar insomniacslk commented on May 28, 2024

yes it's possible with the approach you suggested, and if I understand correctly we need to write a small app with the appropriate permissions to retrieve the user token. I hope there's a simpler approach, but meanwhile I'm looking into what it takes to get such token with the right permissions

from irc-slack.

insomniacslk avatar insomniacslk commented on May 28, 2024

In #99 I'm trying the Oauth token approach, please take a look

from irc-slack.

insomniacslk avatar insomniacslk commented on May 28, 2024

I've merged #99. Needs more validation with the users who have trouble with that approach

from irc-slack.

insomniacslk avatar insomniacslk commented on May 28, 2024

This is fixed by #108 . No legacy token nor app installation is required when using xoxc tokens with auth cookie

from irc-slack.

insomniacslk avatar insomniacslk commented on May 28, 2024

I think we are all set here and we can survive the legacy token shutdown

from irc-slack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.