slack icon indicating copy to clipboard operation
slack copied to clipboard

login-token does not detect when the token has expired

Open jejb opened this issue 2 years ago • 0 comments

Our corporate slack seems to set tokens to expire weekly, necessitating a re-login with token every week. When the token expires, I get messages like

⚠ Your message may not have been bridged: invalid_auth

from slack channels when I try to send.

But when I go to the bot window and ask it to ping, it says

You are signed in to the following Slack teams:

Indicating the bot thinks the connection is alive and well. The bot should at least use the invalid auth it got from attempting to bridge the message as an indicator the token has expired and, ideally, it should ping the server to check expiry so it can notify me before it actually happens.

jejb avatar Jun 28 '23 12:06 jejb