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

BUG: Display Specific AWS SSO Profile in Token Expiry Error Messages #53

Open
sohang3112 opened this issue Jun 5, 2024 · 3 comments
Open

Comments

@sohang3112
Copy link

When executing Git commands like git push, git pull, or git fetch without first performing an AWS SSO login, the following error occurs:

botocore.exceptions.TokenRetrievalError: Error when retrieving token from sso: Token has expired and refresh failed

This error should be caught and replaced with a more informative message that specifies the AWS SSO profile requiring login. This enhancement is particularly useful for environments with multiple AWS SSO profiles, helping users easily identify which profile needs to be logged in for the current AWS CodeCommit repository.

@sohang3112
Copy link
Author

Who maintains this repo currently - @ZhwuAMZN are you the current maintainer?

I would like to work on fixing this issue - please confirm whether a Pull Request to fix this issue would be welcomed.

@changchaishi
Copy link

AWS Codecommit is not accepting new customers though. I am not sure if they are still maintaining this repository. Consider migrating to other git providers will be a better choice.

@sohang3112
Copy link
Author

@changchaishi Not using CodeCommit any more (switched company 🙂). But I'll leave the issue open since CodeCommit is still widely used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants