Databricks OAuth authentication

Hello,

We are currently connecting to Databricks using bearer-auth with a Databricks token. We’d like to switch to OAuth, but I couldn’t find a Databricks OAuth credential type in n8n. I tried the “OAuth2 API” option, but it doesn’t seem to work.

Am I correct in assuming that n8n currently does not support Databricks OAuth authentication?

Thanks.

You’re right, n8n doesn’t have a dedicated Databricks OAuth credential type. While you can try using the “OAuth2 API” credential, it might not be fully compatible with Databricks’ specific OAuth implementation.

To get OAuth working with Databricks, you might need to use the HTTP Request node and manually configure the OAuth flow. You’ll need to handle the token exchange and refresh process yourself using the appropriate Databricks API endpoints.

If you are unsure how to make the HTTP calls, I recommend checking the Databricks documentation for their OAuth setup and token retrieval process.