You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Store a fingerprint of the complete saved profile with cached OAuth credentials and validate it before token reuse or refresh. Legacy tokens without fingerprint metadata require one new login.
Why
Cached OAuth grants can become inconsistent with manually edited profile configuration. Failing closed prevents a token minted for one profile configuration from being reused with another.
Tests
GOWORK=off ./task checks
Full Go lint: zero issues
Full unit suite: 9,497 tests passed
Targeted profile-change and legacy-token acceptance tests passed with both deployment engines
Full acceptance was blocked locally because jq 1.6 is installed and the suite requires jq 1.7
Python formatting and lint were blocked because Ruff could not be downloaded due PyPI DNS failure; the new helper passed Python syntax validation
@simonfaltum -- recent work in cmd/auth/, libs/auth/storage/, libs/databrickscfg/profile/
Any maintainer (@andrewnester, @anton-107, @denik, @pietern, @shreyas-goenka, @simonfaltum, @renaudhartert-db, @janniklasrose, @lennartkats-db, @rugpanov, @rclarey) can approve all areas.
See OWNERS for ownership rules.
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
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.
Changes
Store a fingerprint of the complete saved profile with cached OAuth credentials and validate it before token reuse or refresh. Legacy tokens without fingerprint metadata require one new login.
Why
Cached OAuth grants can become inconsistent with manually edited profile configuration. Failing closed prevents a token minted for one profile configuration from being reused with another.
Tests