Hello,
I’m integrating with the Slack bot. And the issue is that it requires to refresh the token every 12 hours.
Is there any way to automate it, so I don’t need to manually reauthorize every 12 hours?
Thank you,
Hello,
I’m integrating with the Slack bot. And the issue is that it requires to refresh the token every 12 hours.
Is there any way to automate it, so I don’t need to manually reauthorize every 12 hours?
Thank you,
Hi @Nikita_Tsvetkov,
Welcome to the Make community! Are you setting up a connection with an HTTP module? What is the reason you’ll have to manually reauthorize it?
If you follow these steps, you should be good: https://www.make.com/en/help/apps/communication/slack#create-custom-app-and-client-credentials-in-slack
Cheers,
Henk
Hi @Henk-Operative,
I set it up with the Slack module. And that’s the message I get if I don’t reauthorize manually through the Connections tab…
And for some reason, there’s no way I can turn off token rotation on Slack.
Hi @Nikita_Tsvetkov,
That is weird. The Slack module should keep the connection alive automatically by using the OAuth tokens.
In the ‘Create Custom App and Client Credentials in Slack’ part of the help article, did you follow each step on the dot or did you deviate somewhere?
Cheers,
Henk
@Henk-Operative
I’m pretty much sure that I’ve followed all the steps there.
Maybe I need to put the “Refresh Token” from Slack somewhere?
No, the OAuth tokens are handled via API. The ‘tokens’ you need are the client ID and client Secret, which you’ll find here:
These are the ones that you use when you create a Bot connection for the Slack module:
Afaik, you don’t have to do anything with the OAuth tokens, you only have to make sure that the right redirect URL is added via the OAuth & Permissions tab.
Cheers,
Henk
@Henk-Operative
That’s exactly what I did…
And it works. Because the bot sends the messages without any problems.
But at some point, it stops because the token is expired
So strange, I have the same setup and I never had an issue. I cannot troubleshoot this I’m afraid, it is best to contact Make support via https://www.make.com/en/ticket
If you happen to resolve the issue, please let us know here so other Makers might have an easier time solving this!
Cheers,
Henk