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

feat: automatically prompt user for updated credentials if they become invalid during use #103

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

madpah
Copy link
Collaborator

@madpah madpah commented Oct 13, 2023

Resolves #102.

This PR adds logic to detect 401 (Un-authorized) responses from Sonatype IQ Server and will open the extensions Options Page with a notice prompting the user to update their credentials (currently in English only).

Screenshot 2023-10-13 at 08 39 29

…e invalid during use

Signed-off-by: Paul Horton <phorton@sonatype.com>
@madpah madpah added the enhancement New feature or request label Oct 13, 2023
@madpah madpah self-assigned this Oct 13, 2023
@madpah
Copy link
Collaborator Author

madpah commented Oct 16, 2023

@maurycupitt has confirmed locally also.

@madpah madpah merged commit f3273bf into main Oct 16, 2023
1 check passed
@madpah madpah deleted the fix/user-credentials-invalid-messaging branch October 16, 2023 09:21
brent-spiner added a commit that referenced this pull request Oct 16, 2023
# [2.13.0](v2.12.1...v2.13.0) (2023-10-16)

### Features

* automatically prompt user for updated credentials if they become invalid during use ([#103](#103)) ([f3273bf](f3273bf))
@brent-spiner
Copy link
Collaborator

🎉 This PR is included in version 2.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
2 participants