cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Configure Databricks in VSCode through WSL

thethirtyfour
New Contributor III

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?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

thethirtyfour
New Contributor III

Scratch that, I found the alternative means of authenticating via this link: Authentication setup for the Databricks extension for Visual Studio Code

View solution in original post

1 REPLY 1

thethirtyfour
New Contributor III

Scratch that, I found the alternative means of authenticating via this link: Authentication setup for the Databricks extension for Visual Studio Code

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!