Databricks Mosaic AI Connector Guide > Databricks Mosaic AI connections > Databricks Mosaic AI connection authentication properties
  

Databricks Mosaic AI connection authentication properties

When you create a Databricks Mosaic AI connection, you can configure the connection using OAuth 2.0 authentication properties.
To authenticate the Databricks Mosaic AI connection using OAuth 2.0 authentication, select OAuth2 in the Authentication Type list and configure the following properties:
Property
Description
Grant Type
Required. Select the required grant type based on your use case.
Authorization URL
Required. Enter the OAuth authorization URL for the OAuth provider to authorize the user request.
For example: https://<databricks-instance>/oidc/v1/authorize
Token Request URL
Required. Enter the OAuth token request URL that handles token requests.
For example:https://<databricks-instance>/oidc/v1/token
The expiration of the refresh token depends on the OAuth provider. You must re-authenticate and publish the connection before the token expires.
Note: The refresh token doesn't apply to agents and agent groups.
Client ID
Required. Specify the identifier value from the OAuth provider that you copied after creating the OAuth application.
Client Secret
Required. Enter the client secret to connect to the OAuth provider that you copied after creating the OAuth application.
Scope
Required. Specify the scope as all-apis+offline_access.
Authorization Status
Indicates the current status, the name of the user who authorized, and the last time when the authorization was completed.
Authorize Access
Click to initiate the authorization workflow using OAuth.