Compare the claims of two Mapping Sets.
curl --request GET \ --url 'https://auth.example.com/api/admin/identity-mapping/sets/compare?a=example&b=example' \ --header 'Authorization: Bearer <token>'How the claims of set b differ from those of set a (each the calling tenant’s or the platform’s; another tenant’s, and one that does not exist, are 404): the changes a change preview gives (added, removed, renamed, profile_changed, source_changed, transform_changed, type_changed, validation_changed, and profile_field_*), read as the runtime reads the sets. Validation changes name the field and effect without returning rule parameters or attribute values. Type changes preserve each source’s type. Needs the settings read permission. Rate limited with the moderate profile.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Responses
Section titled “ Responses ”The changes of the claims of set b against set a.
object
object
object
object
profile_field_*: the set’s one Destination Profile is switched for another, and the new one lists a claim the old did not (or no longer lists it, or with other scopes, surfaces or requirement), even one no edge writes (the standard claims pass the profile too). validation_changed names the validated field, not necessarily a released claim; its validation_change and validation_effect describe the definition change and whether it may reject an app’s whole issuance.
The namespace the claim is written in; the runtime releases an app’s claims from oidc.claim, or from the namespace the app’s own choice names.
renamed: the namespace before, when it differs.
renamed: the claim’s name before.
Catalog type summary; multiple source types are separated by |.
Catalog type summary; multiple source types are separated by |.
For a type change involving multiple sources, each source’s catalog type before. Unknown types are null. Source names are namespace and path separated by a colon.
object
Each source’s catalog type after, when source_types_before is present.
object
For validation_changed, whether the validated field gained, lost, or changed its validation definitions. Rule parameters and attribute values are never returned.
May_reject means a critical validation definition changed, so issuance can fail or recover independently of release scopes and namespace. It appears in every app’s changes. validation_only means only noncritical definitions changed, so it is listed only in the set’s changes and never in held_back. Omitted severity is stored as error.
profile_changed: the profile before.
Example
{ "a": { "owner": "tenant" }, "b": { "owner": "tenant" }, "changes": [ { "kind": "added", "validation_change": "added", "validation_effect": "may_reject" } ]}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}