Comments (9)
is there an announced deprecation date? If so, we need an alternative method
from irc-slack.
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.
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.
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.
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.
In #99 I'm trying the Oauth token approach, please take a look
from irc-slack.
I've merged #99. Needs more validation with the users who have trouble with that approach
from irc-slack.
This is fixed by #108 . No legacy token nor app installation is required when using xoxc tokens with auth cookie
from irc-slack.
I think we are all set here and we can survive the legacy token shutdown
from irc-slack.
Related Issues (20)
- Reply with RPL_NOTOPIC if no topic is set
- Use slacks 'away' flag when loading slack users HOT 4
- My own messages are shown twice HOT 8
- Getting Connection Timeout Trying to Setup new Connection HOT 9
- Handle certain JOIN failures
- Handle user change event and show nick change if relevant
- App on slack.efi.re throws 502 error HOT 3
- Add feature matrix on README
- Fix `cannot create nick "" for channel "+chan-12345"`
- Messages posted to threads show up in 1-on-1 channels HOT 8
- Clean up resources after disconnecting from a team
- Support threads to self
- Send IM thread to a thread channel
- Support sending messages in thread and multiparty IMs HOT 1
- Failed to fetch users by their IDs: internal_error HOT 2
- irc-slack + znc constantly adding new channels HOT 1
- irc-slack 'reactions' being sent to the wrong channels HOT 1
- Only one private channel working. Other channels sent to <unknown-channel> HOT 1
- Members of private channels and threads not shown HOT 1
- cannot connect anymore since 2023-09-18 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from irc-slack.