authzen-obligations-standard-types October 2026
Babeanu Standards Track [Page]
Workgroup:
OpenID AuthZEN
Published:
Author:
A. Babeanu
Indykite

AuthZEN Obligations Core: Standard Types Profile - Draft 1

Abstract

This specification defines the AuthZEN Obligations Core: Standard Types Profile. The profile selects the AuthZEN Obligations Core, by which a Policy Decision Point (PDP) attaches mandatory, machine-readable actions to an authorization decision. It defines a set of Standard Obligation Types for common use cases: step-up authentication, notification, and session termination. These types are ready for immediate implementation. The profile also defines the conformance requirements for PDPs and PEPs that implement them.

▲

Table of Contents

1. Introduction

The AuthZEN Obligations Core [OBLIGATIONS-CORE] defines how a Policy Decision Point (PDP) attaches obligations to an AuthZEN [AUTHZEN] decision. Obligations are mandatory actions that a Policy Enforcement Point (PEP) must perform in order to honor the decision. The extension defines the Obligation object, its fail-closed processing, the opt-in and negotiation mechanism, and the "AuthZEN Obligation Types" registry. However, it intentionally defines no Obligation Types for specific use cases.

This profile fills that gap for common use cases, several of which are familiar from prior authorization standards such as [XACML]:

1.1. Relationship to the Obligations Core

This document is a profile of the Obligations Core [OBLIGATIONS-CORE]. It selects and constrains the Obligations Core, defines a type vocabulary, and defines conformance. All processing rules are defined in [OBLIGATIONS-CORE] and apply unchanged. These include the Obligation object, PEP compliance on PERMIT and DENY decisions, the handling of Search results, non-compliance, unknown-member handling, the PDP outcome rules, binding, and discovery. This profile does not relax any of them.

The profile carries mandatory-to-understand elements only through the Obligations Core. It is therefore adopted on the wire by opting in to that extension, by listing obligations in supported_mandatory_extensions in the request context. It requires no separate negotiation signal. Whether a party implements a given type of this profile is reflected in the supported_obligations values it advertises (PDP) or declares (PEP).

1.2. Requirements Notation and Conventions

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

1.3. Terminology

This specification uses the terms "Policy Enforcement Point" (PEP), "Policy Decision Point" (PDP), "subject", "resource", "action", and "context" as defined in [AUTHZEN]. It uses the terms "Obligation", "Obligation Type", "Obligations Core", and "Adopting PEP" as defined in [OBLIGATIONS-CORE]. Additionally, this specification uses the following term:

Standard Obligation Type:

An Obligation Type defined by this profile. It has fixed, standardized semantics and member names, and is intended to be interoperably implementable without further bilateral agreement between PDP and PEP implementers.

2. Conformance

A PDP conforms to the Standard Types Profile if it:

A PEP conforms to the Standard Types Profile if it:

3. Standard Obligation Types

This section defines the Standard Obligation Types. Each is registered in the "AuthZEN Obligation Types" registry established by [OBLIGATIONS-CORE] (Section 7).

Each type below is carried in the properties member of an Obligation object, as defined in [OBLIGATIONS-CORE]. Unless stated otherwise, an unrecognized member in the properties of a Standard Obligation Type means that the PEP cannot comply with the obligation. A PEP that cannot comply with an obligation applies the non-compliance rules of [OBLIGATIONS-CORE]: it treats a PERMIT as a DENY, keeps a DENY as a DENY while still executing the obligations it can, and, for Search, excludes only the results to which the obligation applies.

3.1. step-up

The step-up obligation requires the PEP to force the requesting subject through an additional authentication step before the associated decision may be considered enforceable, so that the subject's authenticated session reaches a specified level of assurance.

Obligation-specific members:

acr_value:

REQUIRED. A String. The Authentication Context Class Reference [OPENID-CORE] that the requesting subject MUST achieve. The PEP MUST cause the subject to re-authenticate, or otherwise establish, an authenticated context satisfying this value before honoring the decision. Example: urn:com:example:loa:3.

amr_values:

OPTIONAL. A JSON array of case-sensitive Strings identifying the Authentication Methods References [OPENID-CORE] that MUST be used during the re-authentication. Implementers SHOULD register these values with IANA where a suitable registry is available. Example: ["mfa", "hwk"].

A PEP that does not support the requested acr_value, or one of the requested amr_values, cannot comply with the obligation.

On a PERMIT, the PEP MUST NOT grant access until the step-up has completed successfully. On a DENY, completing the step-up does not grant access. The PEP MAY submit a new request after the subject achieves the required authentication context, and access remains denied unless and until the PDP returns a new PERMIT to that request.

The following is a non-normative example of a step-up obligation:

{
  "type": "step-up",
  "id": "obl-1",
  "properties": {
    "acr_value": "urn:com:example:loa:3",
    "amr_values": ["mfa", "hwk"]
  }
}
Figure 1: Non-normative example of a step-up obligation

3.2. notification

The notification obligation requires the PEP to transmit a message to one or more destinations. This specification is transport-agnostic. A destination MAY be an email address, a phone number, a pub/sub topic, a webhook, or any other identifier that is meaningful to the implementation.

Obligation-specific members:

to:

REQUIRED. A JSON array of Strings, each an implementation-specific identifier for a destination of the notification (e.g., an email address such as manager@example.com, or a queue or topic name). The array MUST contain at least one element. Each identifier MUST be unique and meaningful within the deploying implementer's environment. The PEP MUST transmit the notification to every destination listed in the array. The obligation is satisfied only when transmission to all listed destinations succeeds. If transmission to any listed destination fails, the PEP cannot comply with the obligation. It MUST then treat the overall response as a DENY, regardless of whether the original decision was true or false.

body:

REQUIRED. A String. The payload of the notification message.

topic:

OPTIONAL. A String. A short, high-level subject or purpose for the message, e.g., an email subject line, or a routing topic identifier for a pub/sub transport.

3.2.1. Notifying the Decision Subject

This profile defines the decision_subject request context member. It is an implementation-defined identifier for the entity that the authorization request pertains to, which is typically distinct from the requesting subject (for example, the patient whose record a doctor is requesting access to).

When the request includes context.decision_subject, the PDP SHOULD include that identifier as an additional destination in the to array of every notification obligation it issues for that decision, so that the decision subject is notified alongside any other configured destinations. This applies only if the identifier is (or resolves to) a valid notification destination, and if no PDP policy prevents such additional destinations.

3.2.2. Examples

The following is a non-normative example of a notification obligation with a single destination:

{
  "type": "notification",
  "id": "obl-2",
  "properties": {
    "to": ["manager@example.com"],
    "topic": "Unauthorized access attempt",
    "body": "User jdoe attempted to access patient record 4471 outside of business hours."
  }
}
Figure 2: Non-normative example of a notification obligation

The following is a non-normative example of a notification obligation issued for a request that included a context.decision_subject of patient-4471, in addition to a statically configured destination:

{
  "type": "notification",
  "id": "obl-2b",
  "properties": {
    "to": ["manager@example.com", "patient-4471"],
    "topic": "Medical record accessed",
    "body": "User jdoe accessed patient record 4471 under emergency access provisions."
  }
}
Figure 3: Non-normative example of a notification obligation with a decision_subject destination

3.3. session_termination

The session_termination obligation requires the PEP to initiate whatever flow is necessary to terminate all active sessions belonging to the specified subject. Where the deployment spans a federation, this includes sessions established at other participating parties (e.g., via [OIDC-LOGOUT] front-channel or back-channel logout mechanisms, or via a [SSF] implementation).

Obligation-specific members:

subject:

REQUIRED. A String. The unique identifier of the subject whose sessions MUST be terminated.

The following is a non-normative example of a session_termination obligation:

{
  "type": "session_termination",
  "id": "obl-3",
  "properties": {
    "subject": "jdoe@example.com"
  }
}
Figure 4: Non-normative example of a session_termination obligation

4. Examples

4.1. Example: Request from a Conformant PEP

The following is a non-normative example of a request from a PEP that conforms to this profile and implements notification and step-up:

{
  "subject": { "type": "user", "id": "jdoe" },
  "resource": { "type": "record", "id": "patient-4471" },
  "action": { "name": "view" },
  "context": {
    "decision_subject": "patient-4471",
    "supported_mandatory_extensions": ["obligations"],
    "supported_obligations": ["notification", "step-up"]
  }
}
Figure 5: Request from a PEP conforming to the Standard Types Profile

4.2. Example: PERMIT with a Notification Obligation

The following is a non-normative example of a response to the request above. It grants access on condition that the PEP notifies both a manager and the decision subject:

{
  "decision": true,
  "context": {
    "obligations": [
      {
        "type": "notification",
        "id": "obl-1",
        "properties": {
          "to": ["manager@example.com", "patient-4471"],
          "topic": "Medical record accessed",
          "body": "User jdoe accessed patient record 4471 under emergency access provisions."
        }
      }
    ]
  }
}
Figure 6: PERMIT response with a notification obligation

4.3. Example: DENY with a Step-Up Obligation

The following is a non-normative example of a response that denies access until the subject completes step-up authentication:

{
  "decision": false,
  "context": {
    "obligations": [
      {
        "type": "step-up",
        "id": "obl-1",
        "properties": {
          "acr_value": "urn:com:example:loa:3",
          "amr_values": ["mfa"]
        }
      }
    ]
  }
}
Figure 7: DENY response with a step-up obligation

A PEP capable of driving the subject through step-up authentication MAY re-submit the request after the subject achieves the required ACR. Until the PDP returns a PERMIT to that new request, access remains denied.

4.4. Example: Metadata Discovery Response

{
  "policy_decision_point": "https://pdp.example.com",
  "capabilities": [
    "urn:openid:authzen:capability:obligations"
  ],
  "supported_obligations": [
    "step-up",
    "notification",
    "session_termination"
  ]
}
Figure 8: Metadata of a PDP that supports all Standard Obligation Types

5. Security Considerations

The security considerations of [OBLIGATIONS-CORE] apply. In addition:

Abuse of notification. A malicious or compromised PDP could attempt to abuse the notification Obligation Type to make a PEP relay attacker-controlled content to an arbitrary destination (e.g., using the PEP's trusted mail relay to send spam or phishing content). PEPs SHOULD treat to and body values in notification Obligations as untrusted input. They SHOULD apply the same validation, rate-limiting, and content-safety controls they would apply to any other externally influenced message-sending operation.

Abuse of session termination. A malicious or compromised PDP could use session_termination to cause denial of service by logging users out. PEPs SHOULD verify that the subject to be terminated is related to the request being evaluated, or is otherwise within the PDP's authority, before initiating federated logout.

Step-up downgrade. A PEP MUST NOT satisfy a step-up obligation with an authentication context weaker than the requested acr_value. Where it cannot reliably determine whether a context satisfies the requested value, it cannot comply with the obligation.

6. Privacy Considerations

The privacy considerations of [OBLIGATIONS-CORE] apply. In addition, notification Obligations may carry personal data in their body or other members, for example a subject's identifier or the details of the resource accessed. The decision_subject mechanism (Section 3.2.1) sends such data to the person the request pertains to. Implementers SHOULD apply data minimization to notification content, and PDPs SHOULD ensure that policies adding decision_subject as a destination are consistent with the applicable privacy requirements.

7. IANA Considerations

7.1. AuthZEN Obligation Types Registry

This specification requests the following registrations in the "AuthZEN Obligation Types" registry established by [OBLIGATIONS-CORE]:

Table 1: AuthZEN Obligation Types registrations
Type Description Reference
step-up Requires the PEP to force the subject through additional authentication to reach a specified ACR. Section 3.1
notification Requires the PEP to transmit a message to a destination. Section 3.2
session_termination Requires the PEP to terminate all sessions of a subject. Section 3.3

7.2. JSON Member Names

When a registry of AuthZEN JSON member names is established, the following member is to be registered with a reference to this specification, with the OpenID Foundation AuthZEN Working Group as change controller:

Table 2: JSON members defined by the Standard Types Profile
Member Location Processing strength Extension Identifier Reference
decision_subject Request context Advisory (none) Section 3.2.1

8. Acknowledgements

The author acknowledges the OpenID AuthZEN Working Group for the base specification on which this profile builds, and prior obligation-bearing access-control models, notably [XACML], for informing the choice of Standard Obligation Types.

9. References

9.1. Normative References

[AUTHZEN]
Gazitt, O., Brossard, D., and A. Tulshibagwale, "Authorization API 1.0", , <https://openid.net/specs/authorization-api-1_0.html>.
[OBLIGATIONS-CORE]
Babeanu, A., "AuthZEN Obligations Core", , <https://openid.github.io/authzen/authzen-obligations-core-1_0.html>.
[OPENID-CORE]
Sakimura, N., Bradley, J., Jones, M. B., Medeiros, B. de., and C. Mortimore, "OpenID Connect Core 1.0", , <https://openid.net/specs/openid-connect-core-1_0.html>.
[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/rfc/rfc2119>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/rfc/rfc8174>.

9.2. Informative References

[OIDC-LOGOUT]
Foundation, O., "OpenID Connect Front-Channel and Back-Channel Logout 1.0", , <https://openid.net/specs/openid-connect-frontchannel-1_0.html>.
[SSF]
Tulshibagwale, A., Capalli, T., Scurtescu, M., Backman, A., Bradley, J., and S. Miel, "OpenID Shared Signals Framework Specification 1.0", n.d., <https://openid.net/specs/openid-sharedsignals-framework-1_0-final.html>.
[XACML]
OASIS, "eXtensible Access Control Markup Language (XACML) Version 3.0", , <http://docs.oasis-open.org/xacml/3.0/xacml-3.0-core-spec-os-en.html>.

Author's Address

Alexandre Babeanu
Indykite