Version 4.0.24.20 (latest)
Register an OAuth2 Client App
Registers details identifying an external web app or native app as an OAuth2 login client of the Looker instance.
The app registration must provide a unique client_guid and redirect_uri that the app will present
in OAuth login requests. If the client_guid and redirect_uri parameters in the login request do not match
the app details registered with the Looker instance, the request is assumed to be a forgery and is rejected.
Request
POST
/oauth_client_apps/{client_guid}
Expand HTTP Path definition...
client_guid
string
The unique id of this application
Expand HTTP Body definition...
Expand OauthClientApp definition...
can
lock
object
Operations the current user is able to perform on this object
client_guid
lock
string
The globally unique id of this application
redirect_uri
string
The uri with which this application will receive an auth code by browser redirect.
display_name
string
The application's display name
description
string
A description of the application that will be displayed to users
enabled
boolean
When enabled is true, OAuth2 and API requests will be accepted from this app. When false, all requests from this app will be refused. Setting disabled invalidates existing tokens.
group_id
string
If set, only Looker users who are members of this group can use this web app with Looker. If group_id is not set, any Looker user may use this app to access this Looker instance
tokens_invalid_before
lock
string
All auth codes, access tokens, and refresh tokens issued for this application prior to this date-time for ALL USERS will be invalid.
Expand HTTP Query definition...
fields
string
Requested fields.
Response
200: OAuth Client App
can
lock
object
Operations the current user is able to perform on this object
client_guid
lock
string
The globally unique id of this application
redirect_uri
string
The uri with which this application will receive an auth code by browser redirect.
display_name
string
The application's display name
description
string
A description of the application that will be displayed to users
enabled
boolean
When enabled is true, OAuth2 and API requests will be accepted from this app. When false, all requests from this app will be refused. Setting disabled invalidates existing tokens.
group_id
string
If set, only Looker users who are members of this group can use this web app with Looker. If group_id is not set, any Looker user may use this app to access this Looker instance
tokens_invalid_before
lock
string
All auth codes, access tokens, and refresh tokens issued for this application prior to this date-time for ALL USERS will be invalid.
Expand UserPublic definition...
can
lock
object
Operations the current user is able to perform on this object
first_name
lock
string
First Name
last_name
lock
string
Last Name
display_name
lock
string
Full name for display (available only if both first_name and last_name are set)
avatar_url
lock
string
URL for the avatar image (may be generic)
url
lock
string
Link to get this item
400: Bad Request
message
lock
string
Error details
documentation_url
lock
string
Documentation link
404: Not Found
message
lock
string
Error details
documentation_url
lock
string
Documentation link
409: Resource Already Exists
message
lock
string
Error details
documentation_url
lock
string
Documentation link
422: Validation Error
message
lock
string
Error details
Expand ValidationErrorDetail definition...
field
lock
string
Field with error
code
lock
string
Error code
message
lock
string
Error info message
documentation_url
lock
string
Documentation link
documentation_url
lock
string
Documentation link
429: Too Many Requests
message
lock
string
Error details
documentation_url
lock
string
Documentation link
Examples