Configure OAuth U2M for GitHub ingestion
This feature is in Beta.
This page describes how to configure OAuth user-to-machine (U2M) authentication for GitHub ingestion into Databricks.
Prerequisites
To ingest from GitHub, you must have the following:
- A GitHub account with access to the organization you want to ingest data from.
- Permission to create OAuth Apps in your GitHub account's developer settings.
Configure a GitHub OAuth app
-
Sign in to your GitHub account.
-
In the upper-right corner of any page, click your profile photo to open the user navigation menu.
-
Click Settings.
-
Click Developer settings.
-
In the OAuth Apps section, click New OAuth App.
-
Enter a memorable application name in the Application name field.
-
In the Homepage URL field, enter your Databricks instance's primary URL. For example,
https://my-databricks-account.cloud.databricks.com. Optionally, enter an application description. -
Set the authorization callback URL to the following:
https://<your_workspace_domain>/login/oauth/lakehousefederation.htmlFor example:
https://my-databricks-account.cloud.databricks.com/login/oauth/lakehousefederation.html -
Click Register Application. This takes you to the application's details page.
-
Note the Client ID. You need it when you create your Unity Catalog connection.
-
Click Generate a new client secret to generate a client secret for your application.
-
Note the generated Client Secret. This value is displayed only once.
Next steps
An admin can now use Catalog Explorer to create a connection so that non-admins can create pipelines.