Skip to content

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

@jejb

Description

@jejb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions