Hey folks,
I am working on setting up my org with Claude Code, but we also have a goal of not using long lived PAT's. So I've been using databricks auth token to retrieve + refresh an oauth token. This is working pretty well, except sometimes claude ends up using an expired token because it took longer than 10s between it's calls to my apiKeyHelper script. I am thinking/hoping databricks cli just needs to wire in the expiryDelta parameter that is already present on oauth2.Token : https://github.com/golang/oauth2/blob/4d954e69a88d9e1ccb8439f8d5b6cbef230c4ef9/token.go#L66