Skip to content
Sursa Developers

Objects

OAuthAppCreate

Fields

  • namestringrequired

    Name for the consent screen.

    length ≥ 1, length ≤ 100

  • descriptionstring

    Description for the consent screen.

    length ≤ 1000

  • homepage_urlstring

    The app's website (http or https).

    length ≤ 2000

  • client_typeOAuthClientTyperequired
  • redirect_urisarray of string

    Redirect URIs: https; http only for localhost, 127.0.0.1 and [::1]; a custom app scheme only in reverse-domain form (com.example.app:/callback). No fragment. A public app needs at least one URI.

    items ≤ 10

  • scopesarray of OAuthScoperequired

    Scopes the app can request.

    items ≥ 1

  • rolestring

    Role of client credentials tokens of a confidential app: admin, editor, verifier or viewer (default viewer).

  • data_profilestring

    Data profile of client credentials tokens; defaults to the same profile as a new API key.

Used by