Skip to content

Conversation

@Harsh4902
Copy link
Member

@Harsh4902 Harsh4902 commented May 14, 2025

Description

  • This PR adds support for the login command in our CLI tool.

  • It allows users to perform both password and sso based logins.

  • For password based login, users need to set the MICROCKS_CLIENT_ID and MICROCKS_CLIENT_SECRET environment variables. Then, they can enter their username and password interactively or use the --username and --password flags.

  • sso based login redirects users to their default web browser, where they can complete the login process. They can use the --sso-launch-browser=false flag to get the authentication URI instead of being redirected to the browser.

  • Each execution of the login command creates a context for the given server and sets it as the current context.

Related issue(s)

Resolves #154

…credentials in config file to perform further operations

Signed-off-by: Harsh4902 <[email protected]>
Copy link
Member

@lbroudoux lbroudoux left a comment

Choose a reason for hiding this comment

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

Looks All Good To Me!! Excellent! 🎉

@lbroudoux lbroudoux merged commit b82077c into microcks:1.x May 19, 2025
5 checks passed
@Harsh4902 Harsh4902 deleted the issue#154 branch July 8, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants