Skip to content

Profile/obligations#548

Open
baboulebou wants to merge 2 commits into
mainfrom
profile/obligations
Open

Profile/obligations#548
baboulebou wants to merge 2 commits into
mainfrom
profile/obligations

Conversation

@baboulebou

Copy link
Copy Markdown
Collaborator

First draft of the AuthZEN Obligations profile.

  • Takes into account the latest group discussions (as of 07/03/2026)
  • Includes: Obligation definition, normative Obligations and their IANA registration
  • Obligation metadata for PDPs
  • Obligation negotiation protocol for PEP-PDP interaction.

@ogazitt

ogazitt commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

@baboulebou This is a really solid first draft, thank you!

I have a few comments:

  1. s/AuthZen/AuthZEN/g
  2. s/GRANT/PERMIT/g
  3. it would be great to have the obligation type have a mandatory type and id as you suggest, but then put any type-specific members in an ext JSON object. This makes schema (both for jsonschema and especially for protobuf mappings) much more valuable since the obligation doesn't have to be typed as "struct" which doesn't provide any validation.
  4. I don't think the search results add a context for every result in the array - I believe https://openid.github.io/authzen/#name-the-search-api-response shows that context is global for the entire response. The examples all confirm this. And I think for the purpose of obligations, this is completely fine - having context/obligations per result would be overkill IMO.

For expediency I have approved, subject to the changes I'd like to see before you merge this.

@ogazitt ogazitt self-requested a review July 4, 2026 01:17

@ogazitt ogazitt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my review feedback before merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants