Repository navigation
fix(login): report an existing session instead of re-prompting #3742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
6520e73
fix(login): report an existing session instead of re-prompting
kojiwakayama 4d71f81
Keep bare login aligned with stored sessions
kojiwakayama 53f2c7c
fix(login): say when an existing session came from the environment
kwakayama f635412
fix(login): bound the existing-session preflight with a deadline
kojiwakayama bbc148f
Bound login preflight to one credential deadline
kojiwakayama cf5c736
Keep login output on one declared contract
kojiwakayama 4637eb3
Keep environment-backed account switching truthful
kojiwakayama e1474e2
Keep environment login precedence truthful
kojiwakayama 56e7723
Describe environment precedence without erasing stored state
kojiwakayama 8d5f92d
Keep credential precedence explicit in login guidance
kojiwakayama 80f9ec6
Keep unverified credentials out of login claims
kojiwakayama dc149ce
Honor login JSON output for valid existing sessions
kojiwakayama 4fec6c9
Keep JSON login failures machine-readable
kojiwakayama 3444f67
Preserve login preflight network failures
kojiwakayama cf3e1c9
Preserve login JSON validation failure causes
kojiwakayama 33770c9
Preserve login JSON validation failure classes
kojiwakayama d96d0e5
Preserve environment login validation priority
kojiwakayama 32bdbf6
Preserve malformed environment login failures
kojiwakayama 8cc8b84
Keep JSON login validation outcomes precise
kojiwakayama 5ea395b
Keep explicit JSON login failures routable
kojiwakayama dbf7b7d
Keep shell token precedence visible in login
kojiwakayama e863559
Honor dotenv token precedence in login
kojiwakayama d9edc39
Keep stored-token precedence over dotenv login
kojiwakayama 0b653d5
Keep login precedence mergeable with main
kojiwakayama 590ee3b
Honor config-file token precedence in login
kojiwakayama 0d5b04e
Honor config API metadata during login preflight
kojiwakayama 854cc5f
Respect configured API URL for login preflight
kojiwakayama de23a1e
Keep login preflight bounded to JSON config
kojiwakayama 99c1df5
Clarify config-token account switching
kojiwakayama 84a2297
Stop login under rejected authoritative tokens
kojiwakayama 4cf0e39
Stop replacement login after authoritative validation outages
kojiwakayama bddb5e9
Propagate unexpected strict credential failures
kojiwakayama b5f2b63
Align auth consumers with config-file credentials
kojiwakayama eabcfff
Clarify login JSON-mode method limits
kojiwakayama b402e05
Keep CLI authentication scoped to the command target
kojiwakayama 9f00d33
Preserve dotenv fallback after stored session expiry
kojiwakayama 65a38c2
Let init deploy with its validated project credential
kojiwakayama 9559ebf
Keep authentication fallbacks usable by target commands
kojiwakayama 029df04
Preserve stored sessions through validation outages
kojiwakayama 840251c
Keep unavailable stored credentials authoritative
kojiwakayama 65d5390
Prevent login help from promising ineffective account switches
kojiwakayama File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.