Skip to content

Add basic auth deprecation warnings for May 3rd retirement#295

Merged
samsolaimani merged 6 commits intomasterfrom
basic-auth-dep-announce
Feb 26, 2026
Merged

Add basic auth deprecation warnings for May 3rd retirement#295
samsolaimani merged 6 commits intomasterfrom
basic-auth-dep-announce

Conversation

@samsolaimani
Copy link
Contributor

@samsolaimani samsolaimani commented Feb 24, 2026

Summary

  • Displays a yellow bordered warning banner every time a command runs using basic auth (password), directing users to migrate to OAuth2
  • Adds the same deprecation warning at the start of alks developer login
  • Updates the password choice label in alks developer configure to reflect the May 3rd retirement date
  • Adds a "did you mean?" tip when a user has configured https://alks.coxautoinc.com without the required /rest path

Test plan

Basic auth deprecation warning

  • Run any alks command (e.g. sessions open) configured with basic auth — confirm the yellow deprecation warning banner appears in the terminal
  • Run alks developer login — confirm warning appears before credential prompts
  • Run alks developer configure — confirm password choice shows "(DEPRECATED - retiring May 3rd, not recommended)"
  • Run any command configured with OAuth2 (refresh token) — confirm no warning appears

"Did you mean?" server URL hint

  • Set ALKS_SERVER=https://alks.coxautoinc.com and run alks sessions open — confirm the yellow tip appears: "Did you mean https://alks.coxautoinc.com/rest?"
  • Set ALKS_SERVER=https://alks.coxautoinc.com/ (trailing slash) and run alks sessions open — confirm tip still appears
  • Set ALKS_SERVER=https://alks.coxautoinc.com/rest and run alks sessions open — confirm no tip appears
  • Set a completely different server URL — confirm no tip appears

Rally

US1879500: Create warning for ALKS CLI basic auth deprecation

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/patch Indicates an update without breaking changes or new features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants