Skip to content

Found that auth was not following prompt bool #1121

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

Merged
merged 1 commit into from
Apr 18, 2025
Merged

Found that auth was not following prompt bool #1121

merged 1 commit into from
Apr 18, 2025

Conversation

KevyVo
Copy link
Contributor

@KevyVo KevyVo commented Apr 18, 2025

Description

The higher level function(InteractiveLogin)->
(githubAuthService.login) -> GitHubAuth interface
-> (githubAuthService.login) -> github.StartAuthCodeFlow need the prompt bool to be pass all the way down.

I also reverse the prompt logic because I felt it
was more intuitive to have the prompt like this.

Linked Issues

Checklist

  • I have performed a self-review of my code
  • I have added appropriate tests
  • I have updated the Defang CLI docs and/or README to reflect my changes, if necessary

@KevyVo KevyVo requested a review from nullfunc April 18, 2025 19:33
@KevyVo KevyVo self-assigned this Apr 18, 2025
@KevyVo KevyVo changed the title Found that auth was not flowing prompt bool Found that auth was not following prompt bool Apr 18, 2025
The higher level function(InteractiveLogin)->
(githubAuthService.login) -> GitHubAuth interface
-> (githubAuthService.login) -> github.StartAuthCodeFlow
need the prompt bool to be pass all the way down.

I also reverse the prompt logic because I felt it
was more intuitive to have the prompt like this.
@nullfunc nullfunc merged commit a8f4c7a into main Apr 18, 2025
14 checks passed
@nullfunc nullfunc deleted the kevin/prompt branch April 18, 2025 20:14
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