Skip to main content

oauth_published_apps

Creates, updates, deletes, gets or lists an oauth_published_apps resource.

Overview

Nameoauth_published_apps
TypeResource
Iddatabricks_account.oauth2.oauth_published_apps

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe display name of the published OAuth app.
app_idstring
client_idstringClient ID of the published OAuth app. It is the client_id in the OAuth flow
descriptionstringDescription of the published OAuth app.
is_confidential_clientbooleanWhether the published OAuth app is a confidential client. It is always false for published OAuth apps.
redirect_urlsarrayRedirect URLs of the published OAuth app.
scopesarrayRequired scopes for the published OAuth app.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
oauth_published_apps_listselectaccount_idpage_size, page_tokenGet 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.

NameDatatypeDescription
account_idstring
page_sizeintegerThe max number of OAuth published apps to return in one page.
page_tokenstringA token that can be used to get the next page of results.

SELECT examples

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 }}'
;