Skip to main content

clients

Creates, updates, deletes, gets or lists a clients resource.

Overview​

Nameclients
TypeResource
Idokta.authorizationservers.clients

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
client_idstringUnique key for the client application. The client_id is immutable. (example: 0oabskvc6442nkvQO0h7)
client_namestringHuman-readable string name of the client application (example: My App)
_linksobjectSpecifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
client_uristring (example: https://www.example.com)
logo_uristringURL string that references a logo for the client consent dialog (not the sign-in dialog) (example: https://www.example.com/logo.png)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_oauth2_clients_for_authorization_serverselectauthServerId, subdomainLists all client resources for which the specified authorization server has tokens.

> Note: To list a specific user's client resources for which they have tokens or grants, use the List all clients endpoint in the User Resources API.

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
authServerIdstringid of the Authorization Server
subdomainstring(default: my-org)

SELECT examples​

Lists all client resources for which the specified authorization server has tokens.

> Note: To list a specific user's client resources for which they have tokens or grants, use the List all clients endpoint in the User Resources API.

SELECT
client_id,
client_name,
_links,
client_uri,
logo_uri
FROM okta.authorizationservers.clients
WHERE authServerId = '{{ authServerId }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;