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

Remove cli-lib/http dep + use local-dev-lib for OAuth #987

Merged
merged 8 commits into from
Jan 31, 2024

Conversation

camden11
Copy link
Contributor

@camden11 camden11 commented Jan 29, 2024

Description and Context

This removes three more dependancies on cli-lib modules:

This also fixes a big that would cause hs auth --type=oauth2 to display an error message even when working properly.

Todo

Who to Notify

@brandenrodgers

@camden11 camden11 changed the title Use local dev lib http Remove cli-lib/http dep + use local-dev-lib for OAuth Jan 30, 2024
@camden11 camden11 marked this pull request as ready for review January 30, 2024 22:12
@@ -118,7 +118,7 @@ async function validateAccount(options) {
logger.error(
`The OAuth2 configuration for account ${accountId} is incorrect`
);
logger.error('Run "hscms auth oauth2" to reauthenticate');
Copy link
Contributor

Choose a reason for hiding this comment

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

Wow hscms, this really hasn't been touched in a long time

Copy link
Contributor

@brandenrodgers brandenrodgers left a comment

Choose a reason for hiding this comment

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

lgtm!

@camden11 camden11 merged commit 0ef5da3 into master Jan 31, 2024
1 check passed
@camden11 camden11 deleted the use-local-dev-lib-http branch January 31, 2024 20:41
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