cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Azure Oauth Passthrough with the Go Driver

Miguel_Grafana
New Contributor

Can anyone point me towards some resources for achieving this? I already have the token.

Trying with:

 dbsql.WithAccessToken(settings.Token)

But I'm getting the following error:

Unable to load OAuth Config: request error after 1 attempt(s): unexpected HTTP status 400 Bad Request

 So I'm guessing its more of a config mishap either on azure or databricks or both and was wondering if there was a resource for it somewhere?

1 REPLY 1

Kaniz_Fatma
Community Manager
Community Manager

Hi @Miguel_Grafana, It seems youโ€™re encountering an error related to OAuth configuration when using the dbsql.WithAccessToken method with your token.

Letโ€™s troubleshoot this issue.

Here are a couple of things you can check:

  1. Grant Type Parameter:

  2. Azure AD B2C Policies:

  3. HTTP Status 400 Bad Request:

    • A 400 Bad Request error typically means that the request sent to the server is malformed or incorrect.
    • Check the details of the error message to identify the specific issue.
    • Sometimes, it could be related to missing or incorrect parameters in your request.
  4. Community Discussions:

Remember to review your OAuth configuration, verify your token request, and explore the community discussions. Hopefully, this will lead you to the right solution! ๐Ÿ˜Š

 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group