Skip to content

STX-211 Auth login and platform client (2) - #38

Open
valkovich-ds wants to merge 1 commit into
STX-211-cli-foundationfrom
STX-211-auth-login
Open

STX-211 Auth login and platform client (2)#38
valkovich-ds wants to merge 1 commit into
STX-211-cli-foundationfrom
STX-211-auth-login

Conversation

@valkovich-ds

@valkovich-ds valkovich-ds commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

📋 Type of the Changes

  • Breaking change
  • Non-breaking change
  • Bug fix / minor change

🛠 Changes being made

Commands

  • streamx auth login - authorization-code + PKCE flow through the local browser with a localhost redirect. Falls back to the device flow over SSH or with --no-browser.
  • streamx auth logout - removes the CLI context-specific stored login (server-side logout included).
  • streamx auth whoami - the signed-in account, resolved via the platform profile endpoint.
  • streamx info - diagnostics: CLI build, active context, current settings with their sources, login state, connectivity probes.

Related Terraform change for Keycloak (a new public client for the CLI): https://github.com/streamx-com/streamx-cloud-platform-catalog/pull/52

NOTE: AuthCommandRealKeycloakIT implemented against a real StreamX Keycloak.
@marekczajkowski Would you like to keep it and later point it to some staging/dev env, or rewrite it to local Keycloak testcontainer?

✅ Checklist

  • My code follows the code standards of this project
  • Changed code is covered with unit tests
  • I have updated READMEs and java docs (if applicable)

@valkovich-ds
valkovich-ds requested review from a team as code owners July 28, 2026 06:35
@valkovich-ds valkovich-ds changed the title STX-211 Auth login and platform client STX-211 Auth login and platform client (2) Jul 28, 2026
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.

1 participant