Skip to content

Add --credential option and deprecate --force-login-as-user - #688

Merged
vscheuber merged 2 commits into
rockcarver:mainfrom
vscheuber:main
Sep 9, 2026
Merged

vscheuber merged 2 commits into
rockcarver:mainfrom
vscheuber:main

Conversation

@vscheuber

Copy link
Copy Markdown
Contributor

No description provided.

vscheuber and others added 2 commits September 9, 2026 00:19
Wires up frodo-lib's new getTokens({credentialOverride}) parameter:

- --credential <type>/FRODO_CREDENTIAL (user|svcacct|amster|browser):
  forces one invocation to use a specific configured credential,
  overriding ambient browser-session cache reuse and any saved
  --default-credential preference. 'browser' reuses a cached
  browser-login session and fails clearly if none is valid — it never
  starts a fresh interactive login (that's --browser/--device).

- --force-login-as-user is now marked [Deprecated] in help text
  (equivalent to --credential user), kept working for backward
  compatibility, planned for removal at the next major release.

- --default-credential, previously only on `conn save`, is now also
  available on `login --save` (closes a real gap: there was no way to
  persist this preference from an interactive login+save in one step).

Also gets the frodo-lib fixes for `frodo login --browser <alias>`
requiring a redundant --type despite a saved profile, and `frodo info
<host>` 403ing with "No session for request" immediately after a
successful browser login.

Verified live against a real cloud tenant. Full suite: 609/611 test
suites, 1786 tests, no regressions.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LELpRLKxwcMLpQ1uMxWxc3
…d package-lock.json

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LELpRLKxwcMLpQ1uMxWxc3
@vscheuber
vscheuber merged commit e257d76 into rockcarver:main Sep 9, 2026
4 checks passed
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