-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add flag
--sso-launch-browser
to login
and relogin
comman…
…ds (issue #16208) (#18865) * Add flag `--sso-launch-browser` to `login` and `relogin` commands Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> * Run `make codegen` Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> * Add `ssoBrowserFlow()` and refactor `oauth2Login()` Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> * Update references to "default browser" to "system default browser" Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> * Add test case for `ssoBrowserFlow()` with `ssoLaunchBrowser` as `false` Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> * Run `make codegen` Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> * Update `Test_ssoBrowserFlow_ssoLaunchBrowser_false()` Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> * Fix typo in unit test Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> * Fix linting issues Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> * Rename `ssoBrowserFlow()` to `ssoAuthFlow()` Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> --------- Signed-off-by: David Wu <155603967+david-wu-octopus@users.noreply.github.com> Co-authored-by: pasha-codefresh <pavel@codefresh.io>
- Loading branch information
1 parent
b96be4c
commit 18ccd7a
Showing
5 changed files
with
73 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters