oauth_published_apps
Creates, updates, deletes, gets or lists an oauth_published_apps resource.
Overview
| Name | oauth_published_apps |
| Type | Resource |
| Id | databricks_account.oauth2.oauth_published_apps |
Fields
The following fields are returned by SELECT queries:
- oauth_published_apps_list
| Name | Datatype | Description |
|---|---|---|
name | string | The display name of the published OAuth app. |
app_id | string | |
client_id | string | Client ID of the published OAuth app. It is the client_id in the OAuth flow |
description | string | Description of the published OAuth app. |
is_confidential_client | boolean | Whether the published OAuth app is a confidential client. It is always false for published OAuth apps. |
redirect_urls | array | Redirect URLs of the published OAuth app. |
scopes | array | Required scopes for the published OAuth app. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
oauth_published_apps_list | select | account_id | page_size, page_token | Get all the available published OAuth apps in Databricks. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | |
page_size | integer | The max number of OAuth published apps to return in one page. |
page_token | string | A token that can be used to get the next page of results. |
SELECT examples
- oauth_published_apps_list
Get all the available published OAuth apps in Databricks.
SELECT
name,
app_id,
client_id,
description,
is_confidential_client,
redirect_urls,
scopes
FROM databricks_account.oauth2.oauth_published_apps
WHERE account_id = '{{ account_id }}' -- required
AND page_size = '{{ page_size }}'
AND page_token = '{{ page_token }}'
;