HeyIdentity

Create a fake Entra ID or OIDC tenant for testing in one call. No account needed.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
94%
Integridad del esquema
89%
Calidad de los nombres
94%
Riesgo de envenenamiento
80%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (4)

  • HIGHTool poisoning patterns detected
  • LOWTool 'edit_user' description lacks action verben edit_user
  • LOWTool 'get_tenant' description lacks action verben get_tenant
  • LOWTool description contains role marker that could confuse chat modelsen add_user

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~5,377Tokens (definiciones de herramientas)
~2.7 KBTamaño de respuesta típico
Impacto significativo en la atención (4.20% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "heyidentity": {
      "url": "https://api.heyidentity.dev/agent/mcp"
    }
  }
}

Puntos de conexión remotos

https://api.heyidentity.dev/agent/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (20)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🔴remove_custom_claim(configuration_id, name)

Removes a custom claim.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "description": "The name of the claim to remove.",
      "type": "string"
    }
  },
  "required": [
    "configuration_id",
    "name"
  ],
  "additionalProperties": false
}
🟡create_configuration(name, profile)

Creates another configuration in the tenant from the starter content (a demo user and a demo client), with a name unique in the tenant and a profile. Prefer a separate client per environment in one configuration; create a configuration for a different profile or a separate set of users. A retry with the same name answers configuration_exists with the existing configuration instead of creating a second one.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "name": {
      "description": "The configuration's name, at most 200 characters and unique in the tenant ignoring case, e.g. staging.",
      "type": "string"
    },
    "profile": {
      "description": "Optional profile: Generic (default), Microsoft (Entra ID), or AzureAdB2C (one synthetic sign-in policy).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false
}
🔴remove_user(configuration_id, key)

Removes a user (at least one must remain).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    },
    "key": {
      "description": "The key of the user to remove.",
      "type": "string"
    }
  },
  "required": [
    "configuration_id",
    "key"
  ],
  "additionalProperties": false
}
🔴edit_settings(configuration_id, settings)

Edits the settings; fields left out keep their value. settings: { profile?, b2c_policy_claim? (tfp or acr), validate_client_secrets?, token_lifetime_minutes?, token_shape?: { scope_claim_name?, scope_claim_format?, roles_claim_name?, roles_nested_key?, access_token_audience? } }.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    },
    "settings": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "profile": {
          "type": [
            "string",
            "null"
          ],
          "description": "Generic, Microsoft or AzureAdB2C."
        },
        "b2c_policy_claim": {
          "type": [
            "string",
            "null"
          ],
          "description": "AzureAdB2C policy claim: tfp (default) or acr (legacy). An omitted field preserves the stored setting, including across profile switches."
        },
        "validate_client_secrets": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Require client secrets at the token endpoint."
        },
        "token_lifetime_minutes": {
          "type": [
            "string",
            "integer",
            "null"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$",
          "description": "Token lifetime in minutes (positive)."
        },
        "token_shape": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "scope_claim_name": {
              "type": [
                "string",
                "null"
              ],
              "description": "scope (default) or scp."
            },
            "scope_claim_format": {
              "type": [
                "string",
                "null"
              ],
              "description": "string (default, space-separated) or array."
            },
            "roles_claim_name": {
              "type": [
                "string",
                "null"
              ],
              "description": "Where roles are emitted, e.g. realm_access; roles when not set."
            },
            "roles_nested_key": {
              "type": [
                "string",
                "null"
              ],
              "description": "Nests roles under this key of roles_claim_name, e.g. roles for realm_access.roles."
            },
            "access_token_audience": {
              "type": [
                "string",
                "null"
              ],
              "description": "Whether the audience is sent as aud (default) or as client_id with no aud (like Cognito); Generic profile only, see the audience rule."
            }
          },
          "description": "Claim shape options (Generic profile only); fields left out keep their value.",
          "additionalProperties": false
        }
      },
      "description": "The settings to change. The configuration's settings. Fields left out keep their value.",
      "additionalProperties": false
    }
  },
  "required": [
    "configuration_id",
    "settings"
  ],
  "additionalProperties": false
}
🟢get_configuration(configuration_id)

Returns one configuration of the tenant as items: clients, users, custom and standard claims, settings and endpoints.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    }
  },
  "required": [
    "configuration_id"
  ],
  "additionalProperties": false
}
🔴request_claim_code

Issues a single-use claim code for an unclaimed tenant. It works for 15 minutes and replaces any earlier code. Show the code and claim_page_url to the user; never store the code.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "required": [],
  "additionalProperties": false
}
🟢get_catalog

Describes the profiles (claims, URL shapes, protocol behaviors), token shape options, standard claims, limits, the current terms version and the rules agents must follow. Read it before configuring a tenant.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "required": [],
  "additionalProperties": false
}
🔴remove_client(configuration_id, client_id)

Removes a client.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    },
    "client_id": {
      "description": "The id of the client to remove.",
      "type": "string"
    }
  },
  "required": [
    "configuration_id",
    "client_id"
  ],
  "additionalProperties": false
}
🟡create_tenant(accepted_terms_version, display_name, profile, idempotency_key)

Creates an unverified HeyIdentity test tenant with a working demo client and test user, accepting the current Terms of Use on behalf of the operator running the agent. Returns endpoints, an agent token, the fixed claim page URL, the expiry time and next_steps.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "accepted_terms_version": {
      "description": "The current Terms of Use version (see get_catalog), accepted on behalf of the operator running the agent.",
      "type": "string"
    },
    "display_name": {
      "description": "Optional display name of the tenant.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "profile": {
      "description": "Optional profile: Generic (default), Microsoft (Entra ID), or AzureAdB2C (one synthetic sign-in policy).",
      "type": [
        "string",
        "null"
      ],
      "default": null
    },
    "idempotency_key": {
      "description": "Strongly recommended: a random secret of 32 to 128 characters from A-Z a-z 0-9 - _ (for example crypto.randomUUID()), generated once per intended tenant and kept secret like the agent token. Retrying with the same value and arguments, only if you never received the response, returns the same tenant instead of creating another.",
      "type": [
        "string",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "accepted_terms_version"
  ],
  "additionalProperties": false
}
🔴edit_user(configuration_id, key, changes)

Edits a user; fields left out keep their value, and claims, when given, replace the user's claims.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    },
    "key": {
      "description": "The key of the user to edit.",
      "type": "string"
    },
    "changes": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "key": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user key shown on the sign-in page and used as sub by default. Required when adding; fixed afterwards."
        },
        "display_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name shown on the sign-in page and emitted as the name claim."
        },
        "sub": {
          "type": [
            "string",
            "null"
          ],
          "description": "The sub claim; the key when not set."
        },
        "icon": {
          "type": [
            "string",
            "null"
          ],
          "description": "A built-in icon id for the sign-in page."
        },
        "access_token_sub": {
          "type": [
            "string",
            "null"
          ],
          "description": "A different sub for access tokens only."
        },
        "claims": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "description": "The user's claims: name to a string, number, boolean or array of strings, e.g. { \"email\": \"[email protected]\", \"roles\": [\"admin\"] }. Use fictional people only."
        },
        "claim_targets": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Which token each claim goes into: name to both (default), id_token or access_token."
        },
        "sign_in_outcome": {
          "type": [
            "string",
            "null"
          ],
          "description": "How sign-in goes for this user: normal (default), access_denied, temporarily_unavailable, interaction_required (prompt=none fails) or refresh_revoked (refreshing fails with invalid_grant). Any value other than normal is a Pro feature (plan_required otherwise)."
        }
      },
      "description": "The fields to change. A fictional test user. On edit, fields left out keep their value; claims, when given, replaces the user's claims.",
      "additionalProperties": false
    }
  },
  "required": [
    "configuration_id",
    "key",
    "changes"
  ],
  "additionalProperties": false
}
🟡add_client(configuration_id, client)

Adds a client. client: { client_id, client_secret?, allow_all_return_urls?, redirect_uris?, allowed_scopes?, exposed_scopes?, access_token_audience?, claims?, app_permissions? }. claims (Generic only) go into this client's client credentials tokens; app_permissions (Microsoft, AzureAdB2C) such as api://orders/Orders.Sync go into a {resource}/.default client credentials token as roles (Microsoft) or scp (AzureAdB2C).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    },
    "client": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "client_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "The client id. Required when adding; fixed afterwards (it is the id in the URL when editing)."
        },
        "client_secret": {
          "type": [
            "string",
            "null"
          ],
          "description": "The client secret; checked only when the configuration's validate_client_secrets setting is on."
        },
        "allow_all_return_urls": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Accept any redirect URI. Convenient for local tests; default false."
        },
        "redirect_uris": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Exact redirect URIs the app uses, e.g. http://localhost:5173/callback (http(s) with a host, or an app scheme such as com.example.app:/callback or myapp://callback)."
        },
        "allowed_scopes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Scopes the client may request, e.g. openid, profile, email, offline_access, api://orders/read. Default when adding: openid, profile."
        },
        "exposed_scopes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Scopes this client exposes as an API (resource), e.g. https://weather.example/mcp/tools.read: advertised in discovery scopes_supported. On a Generic configuration each scope's resource (everything before the last /) is an accepted resource parameter value (RFC 8707), which then becomes aud (see the audience rule)."
        },
        "access_token_audience": {
          "type": [
            "string",
            "null"
          ],
          "description": "Audience value used when the requesting client's request has no resource and no resource-qualified scope; the client id when not set. On a Generic configuration an absolute URI here, e.g. https://weather.example/mcp, is also an accepted resource parameter value (RFC 8707), which then becomes aud (see the audience rule)."
        },
        "claims": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "description": "Read by the Generic profile only: this client's own claims in its client credentials access tokens, name to a string, number, boolean or array of strings, e.g. { \"roles\": [\"sync.all\"], \"tier\": 2 }. They win over custom claims of the same name; roles follows the token shape's roles location. Stored under every profile; when given on edit, replaces the client's claims."
        },
        "app_permissions": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Read by the Microsoft and AzureAdB2C profiles only: resource-qualified application permissions, e.g. api://orders/Orders.Sync (not .default). A client credentials request for {resource}/.default carries this client's permissions for that resource as roles (Microsoft) or scp (AzureAdB2C). Stored under every profile; when given on edit, replaces the list."
        }
      },
      "description": "The client, as in the Agent API. A client (an app that signs in, or an API). On edit, fields left out keep their value.",
      "additionalProperties": false,
      "required": [
        "client_id"
      ]
    }
  },
  "required": [
    "configuration_id",
    "client"
  ],
  "additionalProperties": false
}
🔴edit_client(configuration_id, client_id, changes)

Edits a client; fields left out keep their value. changes: { client_secret?, allow_all_return_urls?, redirect_uris?, allowed_scopes?, exposed_scopes?, access_token_audience?, claims?, app_permissions? }. claims (Generic only) go into this client's client credentials tokens; app_permissions (Microsoft, AzureAdB2C) such as api://orders/Orders.Sync go into a {resource}/.default client credentials token as roles (Microsoft) or scp (AzureAdB2C).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    },
    "client_id": {
      "description": "The id of the client to edit.",
      "type": "string"
    },
    "changes": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "client_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "The client id. Required when adding; fixed afterwards (it is the id in the URL when editing)."
        },
        "client_secret": {
          "type": [
            "string",
            "null"
          ],
          "description": "The client secret; checked only when the configuration's validate_client_secrets setting is on."
        },
        "allow_all_return_urls": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Accept any redirect URI. Convenient for local tests; default false."
        },
        "redirect_uris": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Exact redirect URIs the app uses, e.g. http://localhost:5173/callback (http(s) with a host, or an app scheme such as com.example.app:/callback or myapp://callback)."
        },
        "allowed_scopes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Scopes the client may request, e.g. openid, profile, email, offline_access, api://orders/read. Default when adding: openid, profile."
        },
        "exposed_scopes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Scopes this client exposes as an API (resource), e.g. https://weather.example/mcp/tools.read: advertised in discovery scopes_supported. On a Generic configuration each scope's resource (everything before the last /) is an accepted resource parameter value (RFC 8707), which then becomes aud (see the audience rule)."
        },
        "access_token_audience": {
          "type": [
            "string",
            "null"
          ],
          "description": "Audience value used when the requesting client's request has no resource and no resource-qualified scope; the client id when not set. On a Generic configuration an absolute URI here, e.g. https://weather.example/mcp, is also an accepted resource parameter value (RFC 8707), which then becomes aud (see the audience rule)."
        },
        "claims": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "description": "Read by the Generic profile only: this client's own claims in its client credentials access tokens, name to a string, number, boolean or array of strings, e.g. { \"roles\": [\"sync.all\"], \"tier\": 2 }. They win over custom claims of the same name; roles follows the token shape's roles location. Stored under every profile; when given on edit, replaces the client's claims."
        },
        "app_permissions": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Read by the Microsoft and AzureAdB2C profiles only: resource-qualified application permissions, e.g. api://orders/Orders.Sync (not .default). A client credentials request for {resource}/.default carries this client's permissions for that resource as roles (Microsoft) or scp (AzureAdB2C). Stored under every profile; when given on edit, replaces the list."
        }
      },
      "description": "The fields to change. A client (an app that signs in, or an API). On edit, fields left out keep their value.",
      "additionalProperties": false
    }
  },
  "required": [
    "configuration_id",
    "client_id",
    "changes"
  ],
  "additionalProperties": false
}
🟢validate_configuration(configuration_id)

Reports problems (e.g. a client without a redirect URI) and warnings (e.g. a scope no client requests) without changing anything.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    }
  },
  "required": [
    "configuration_id"
  ],
  "additionalProperties": false
}
🟡add_custom_claim(configuration_id, claim)

Adds a custom claim. Custom claims apply across the configuration. Claims targeting access tokens also apply to client-credentials tokens. A custom roles claim can give roles to clients without their own roles. claim: { name, value: string|number|boolean|string[], target?: both|id_token|access_token }.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    },
    "claim": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The claim name. Required when adding; fixed afterwards."
        },
        "value": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "The claim value: a string, number, boolean or array of strings, stored and emitted with that JSON type. Omitted or null: the empty string when adding, the stored value when editing."
        },
        "target": {
          "type": [
            "string",
            "null"
          ],
          "description": "both (default), id_token or access_token."
        }
      },
      "description": "The custom claim. Custom claims apply across the configuration. Claims targeting access tokens also apply to client-credentials tokens. A custom roles claim can give roles to clients without their own roles.",
      "additionalProperties": false,
      "required": [
        "name"
      ]
    }
  },
  "required": [
    "configuration_id",
    "claim"
  ],
  "additionalProperties": false
}
🔴edit_custom_claim(configuration_id, name, changes)

Edits a custom claim's value or target; fields left out keep their value. changes: { value?, target? }.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "description": "The name of the claim to edit.",
      "type": "string"
    },
    "changes": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The claim name. Required when adding; fixed afterwards."
        },
        "value": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ],
          "description": "The claim value: a string, number, boolean or array of strings, stored and emitted with that JSON type. Omitted or null: the empty string when adding, the stored value when editing."
        },
        "target": {
          "type": [
            "string",
            "null"
          ],
          "description": "both (default), id_token or access_token."
        }
      },
      "description": "The fields to change. Custom claims apply across the configuration. Claims targeting access tokens also apply to client-credentials tokens. A custom roles claim can give roles to clients without their own roles.",
      "additionalProperties": false
    }
  },
  "required": [
    "configuration_id",
    "name",
    "changes"
  ],
  "additionalProperties": false
}
🔴set_standard_claims(configuration_id, enabled)

Sets which of the profile's generated standard claims are enabled (see get_configuration's standard_claims.available).

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    },
    "enabled": {
      "description": "The standard claims to enable, e.g. [\"auth_time\", \"jti\"]. Required. PUT .../claims/standard replaces the whole list: send the current list (GET /agent/v1/configurations/{configuration_id}) plus the new claim.",
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "default": null
    }
  },
  "required": [
    "configuration_id",
    "enabled"
  ],
  "additionalProperties": false
}
🟢get_tenant

Returns the tenant, its configurations and their endpoints, its limits and status.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "required": [],
  "additionalProperties": false
}
🔴rotate_signing_key(configuration_id, overlap)

Generates a new RSA signing key for this configuration. overlap=true keeps the previous key published for the configured window; false removes every earlier key immediately. Needs Pro or Enterprise (or Vetted assurance); rate limited per configuration. Returns the current kid and published keys.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    },
    "overlap": {
      "description": "true keeps the previous key for the overlap window; false drops all earlier keys immediately.",
      "type": [
        "boolean",
        "null"
      ],
      "default": null
    }
  },
  "required": [
    "configuration_id",
    "overlap"
  ],
  "additionalProperties": false
}
🟢list_signing_keys(configuration_id)

Lists a configuration's published key IDs, status, source and expiry. Available on every plan; returns no key material.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    }
  },
  "required": [
    "configuration_id"
  ],
  "additionalProperties": false
}
🟡add_user(configuration_id, user)

Adds a fictional test user. user: { key, display_name?, sub?, icon?, access_token_sub?, claims?: { name: string|number|boolean|string[] }, claim_targets?: { name: both|id_token|access_token }, sign_in_outcome?: normal|access_denied|temporarily_unavailable|interaction_required|refresh_revoked (Pro) }.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "configuration_id": {
      "description": "The configuration id (from create_tenant or get_tenant).",
      "type": "string",
      "format": "uuid"
    },
    "user": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "key": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user key shown on the sign-in page and used as sub by default. Required when adding; fixed afterwards."
        },
        "display_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name shown on the sign-in page and emitted as the name claim."
        },
        "sub": {
          "type": [
            "string",
            "null"
          ],
          "description": "The sub claim; the key when not set."
        },
        "icon": {
          "type": [
            "string",
            "null"
          ],
          "description": "A built-in icon id for the sign-in page."
        },
        "access_token_sub": {
          "type": [
            "string",
            "null"
          ],
          "description": "A different sub for access tokens only."
        },
        "claims": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "number"
              },
              {
                "type": "boolean"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "description": "The user's claims: name to a string, number, boolean or array of strings, e.g. { \"email\": \"[email protected]\", \"roles\": [\"admin\"] }. Use fictional people only."
        },
        "claim_targets": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "Which token each claim goes into: name to both (default), id_token or access_token."
        },
        "sign_in_outcome": {
          "type": [
            "string",
            "null"
          ],
          "description": "How sign-in goes for this user: normal (default), access_denied, temporarily_unavailable, interaction_required (prompt=none fails) or refresh_revoked (refreshing fails with invalid_grant). Any value other than normal is a Pro feature (plan_required otherwise)."
        }
      },
      "description": "The user, as in the Agent API. A fictional test user. On edit, fields left out keep their value; claims, when given, replaces the user's claims.",
      "additionalProperties": false,
      "required": [
        "key"
      ]
    }
  },
  "required": [
    "configuration_id",
    "user"
  ],
  "additionalProperties": false
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada20 herramientas