-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Federation: Validation of metadata in entity statement #28
Comments
In addition to the above scenario, for OAuth Authorization Server the text says:
Which includes the |
Good catch! “Applicable” means something like “MAY be used”. And yes, they should be validated as per the referenced metadata spec, if used. That said, we may need to add language saying that properties that are required in the underlying metadata spec are also required in the resolved entity metadata. This is why I love that we're starting the certification work before the spec is done. I'm sure that this won't be the last catch! |
As discussed on the 5-Aug-24 working group call, validation should be done against the resolved metadata - not just the contents of the Entity Statement. Superiors may supply metadata values for the resolved metadata. |
@selfissued In this case I was specifically speaking of the entries in the |
Entity Statement is a broad term encompassing both Subordinate Statements and Entity Configuration, serving as a foundational or parent class. Resolved metadata results from applying the metadata and metadata policies derived from Subordinate Statements to the metadata specified in the Entity Configuration, if present. Metadata in Subordinate Statements arbitrarily extends or modifies parameters, whereas metadata policies are governed by a specific syntax. Once applied, the final metadata represents the outcome of a valid trust chain. |
@malmgren01DF, an example of resolved metadata is at https://openid.net/specs/openid-federation-1_0-ID4.html#name-verified-metadata-for-https. Compare that to the metadata in the Entity Configuration at https://openid.net/specs/openid-federation-1_0-ID4.html#name-entity-configuration-for-ht, from which it was derived by including contributions from Superiors. |
I will propose language to add clarifying the topic of this discussion - that the resolved metadata is to include all the applicable metadata parameters for each Entity Type. |
This question should be read in the light of conformance testing of federation entities:
Let's say that we've got an entity statement that contains the following metadata:
federation_entity
is valid and included for illustrative purposes. But what aboutoauth_authorization_server
andopenid_relying_party
?On one hand, the spec says that
but on the other hand, if we take openid_relying_party as an example, it says
But what does “applicable” mean? Does it mean that all of the properties and their optionality (or lack thereof) as defined in the DCR spec apply, meaning that we should run the same set of verifications that we do for RP DCR client registration metadata, or does it mean that the properties in the DCR spec may occur inside this metadata section, but are not subject to any validation rules?
If you could please enlighten me a little bit in this matter, that would be helpful.
Edit: I left out the little detail that client_registration_types is required in the openid_relying_party metadata section, but I guess that isn’t really relevant to the question anyway and that the description above explains it sufficiently as it is.
The text was updated successfully, but these errors were encountered: