Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Current »

Here is the JSONSchema for the OAuth object.

JSON Format
{
  "$async": true,
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "http://broker.servicepower.com/schemas/sub_schemas/OAuth.json",
  "properties": {
    "Provider": {
      "description": "Identity Provider",
      "type": "string",
      "default": "Cognito",
      "enum": [
        "Cognito"
      ]
    },
    "ClientId": {
      "description": "Application Client Id",
      "type": "string",
      "default": ""
    },
    "ClientSecret": {
      "description": "Application Client Secret",
      "type": "string",
      "default": ""
    },
    "AutoCreateUser": {
      "description": "",
      "type": "boolean",
      "default": false
    },
    "Scopes": {
      "description": "OAuth 2.0 scopes",
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": []
    },
    "ScopeURLs": {
      "description": "Resource URLs associated with an OAuth 2.0 scopes",
      "type": "object",
      "properties": {},
      "default": {}
    }
  },
  "additionalProperties": false,
  "type": "object"
}

  • No labels