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

Send email notifications for expiring auth tokens #2669

Merged

Conversation

williamjallen
Copy link
Collaborator

Authentication tokens currently expire silently, leading users to discover that they need to be updated once things start failing. This PR improves the feature by sending email notifications to the token owner each day for the 7 days preceding a token's expiration date.

Copy link
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Email updates look fine and the scheduler sending an email a day seems reasonable. The tests pass locally for me. I'll run the failed jobs again and see what else occurrs

@williamjallen
Copy link
Collaborator Author

I suspect that there may be a flaky test or two related to #2664 which caused the tests to fail. Looking into that now.

@williamjallen williamjallen force-pushed the trigger-token-notifications branch from 028c9ee to 7d03300 Compare January 17, 2025 15:43
@williamjallen
Copy link
Collaborator Author

It looks like there was an issue with one of the tests added in this PR, as well as a separate issue caused by #2664 I addressed in #2670.

@williamjallen williamjallen added this pull request to the merge queue Jan 17, 2025
Merged via the queue into Kitware:master with commit 43b055a Jan 17, 2025
6 checks passed
@williamjallen williamjallen deleted the trigger-token-notifications branch January 17, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants