cli
cli copied to clipboard
Re-run `databricks auth login` when refresh token is expired
Error: default auth: databricks-cli: cannot get access token: Error: token refresh: oauth2: "invalid_request" "Refresh token is invalid"
In this scenario, we should probably pop-up the U2M flow again to allow them to reauthenticate, then repeat the request.
Can you give more context on the expected behavior?
I experence the same error when using 'az login' to authenticate against Azure, then use the Databricks CLI. I have three Databricks Workspaces, two are succesfull, but one keeps failing with:
Error: default auth: databricks-cli: cannot get access token: Error: token refresh: oauth2: "invalid_request" "Refresh token is invalid"