- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 06:52 AM
Hi,
I am having a hard time configuring my Databricks workspace when working in VSCode via WSL. When following the steps to setup Databricks authentication I am receiving the following error on the Step 5 of "Step 4: Set up Databricks authentication".
5. Select OAuth (user to machine).
When I open the browser to authenticate, I see a message indicating successful authentication. However, I receive the following error within VS Code: "Login failed with Databricks CLI failed: Error: authorize: state mismatch in 3-legged-OAuth flow"
I tried these same steps when working in Windows (rather than WSL) and was able to authenticate successfully.
My question: How can I configure Databricks when working through WSL?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 08:16 AM
Scratch that, I found the alternative means of authenticating via this link: Authentication setup for the Databricks extension for Visual Studio Code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 08:16 AM
Scratch that, I found the alternative means of authenticating via this link: Authentication setup for the Databricks extension for Visual Studio Code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2024 12:54 AM
What worked for me was NOT opening the browser using the pop-up (which generated the 3-legged-OAuth flow error), but clicking on the link provided by the CLI (or copy paste the link on the browser)

