-
Notifications
You must be signed in to change notification settings - Fork 154
[Bug] redirect_uri not registered for OAuth application 'databricks-cli' #3416
Copy link
Copy link
Closed
Labels
Description
Describe the issue
u2m auth fails due to a port number mismatch between the local redirect server and the URI registered for the Databricks CLI app connection in the account. This change was introduced by databricks-sdk-go v0.77.0 which now uses random open port selection for this auth method, while the app connection always expects port 8020.
Steps to reproduce the behavior
Please list the steps required to reproduce the issue, for example:
- Run
databricks auth login
Expected Behavior
Login succeeded
Actual Behavior
{
"error_description": "redirect_uri 'http://127.0.0.1:53890' not registered for OAuth application 'databricks-cli'",
"error": "invalid request"
}
OS and CLI version
Databricks CLI v0.264.0
Is this a regression?
Yes, this is a breaking change introduced in 0.264.0 via the SDK upgrade
Debug Logs
N/A
Reactions are currently unavailable