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

Prompt user to check for expired token in auth error message #2630

Merged
merged 2 commits into from
Dec 1, 2023

Conversation

nicksnyder
Copy link
Member

A user in our public slack got confused when they suddenly started seeing this error message in the CLI:

Failure: you are not authenticated. Create a new entry in your netrc, using a Buf API Key as the password. For details, visit https://docs.buf.build/bsr/authentication

The problem was that their token was expired and buf registry logout fixed it for them.

This change improves the error message so that users know to check to see if their token has expired.

@nicksnyder nicksnyder merged commit d3dc2fa into main Dec 1, 2023
7 checks passed
@nicksnyder nicksnyder deleted the autherror branch December 1, 2023 15:26
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

Successfully merging this pull request may close these issues.

2 participants