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
Add support for Slack Apps for notification templates (and figure out how to handle soon-deprecated legacy Slack tokens) #6610
Comments
TL;DR Instead of the legacy token you need to create an oauth token. The current slack library continues to work with the new app based authorization in Slack.
|
I can confirm that this works for AWX v9.3.0. Only step missing from guide was that we need to, in Slack, add the new App/bot to the channel(s). |
@atlekberg I didn't have to add the App/bot to channels. Maybe I made a mistake and |
@chrismeyersfsu I don't know, but it complained about not being in channel so the natural next step, for me at least, was to invite the the app (as I've read elsewhere that this is needed for bots). I managed to dig up the output from the log as well.
|
Yes, it looks like it's necessary but... how will you do that ? I can't find where in any slack menu it can be done... |
@Orabig it's been a while while since I did this, but I believe you have to create a bot for your workspace and then invite that bot to the channel(s): Hope that points you in the right direction. |
I know this issue is closed but I wanted to update the notes on this comment to say that UPDATE: Actually |
|
ISSUE TYPE
SUMMARY
see: #6517 (comment)
It sounds like AWX's current Slack implementation is based on these legacy tokens, and it's been suggested by AWX users that the new Slack Apps don't work with AWX's current integration.
We'll likely need to support both.
The text was updated successfully, but these errors were encountered: