OPA input and output needed

This project is using OPA servers for authorizations. This document will show the representation of the input send by OPA center to OPA servers.

Input

The input data will be a JSON and will have the following structure:

Here is an example:

{
  "user": {
    "preferred_username": "username",
    "name": "name",
    "given_name": "given name",
    "family_name": "family name",
    "email": "email",
    "email_verified": true
  },
  "tags": {
    "tag1": "value1"
  },
  "data": {
    "action": "action",
    "resource": "resource"
  }
}

Output

The output data will be a JSON and will have the following structure:

Here is an example:

{
  "result": true
}