Skip to content
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

login-token does not detect when the token has expired #31

Open
jejb opened this issue Jun 28, 2023 · 0 comments
Open

login-token does not detect when the token has expired #31

jejb opened this issue Jun 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jejb
Copy link

jejb commented Jun 28, 2023

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 jejb added the bug Something isn't working label Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant