Enterprise

Get OAuth2 application.

Changed on
get/api/v2/oauth2-provider/apps/{app}

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/oauth2-provider/apps/{app}
  • Auth
    API key in header Coder-Session-Token

Path parameters

appstring required

App ID

Response

OK

callback_urlstring

Deprecated: equal to the first entry of redirect_uris. Read redirect_uris instead.

client_type'confidential' | 'public'
dynamically_registeredboolean

DynamicallyRegistered is true when the app registered itself through Dynamic Client Registration rather than being created by an admin.

iconstring
idstring uuid
namestring
redirect_urisstring[]

RedirectURIs are the app's registered redirect URIs, primary first.

scopestring

Scope is the space-separated list of scopes this app's tokens may be granted. Empty means unrestricted. A non-empty value with no names is a configured allowlist that grants nothing.

Changes