[Federation] federation_entity claims - name and organization_name
In 4.6. Federation Entity we have the claim name as follow
name
OPTIONAL. String. The human-readable name describing the subject entity.
This MAY be, for example, the name of an organization.
in 4.2. OP Metadata and 4.1. RP Metadata we have the claim organization_name as follow
organization_name
OPTIONAL. A human-readable name representing the organization owning ...
If we agreed it would make sense to me to adopt a single claim for a single purpose, and then rename the federation_entity’s claim name to organization_name.
Comments (11)
-
-
reporter I sounds perfectly good to me. I want to ask you what do you think, for uniformity, to add organization_name in the federation_entity metadata as well
-
I’m prone to make the change for consistency. We can say in the description that “In some cases, the “organization” may actually be an individual.”
-
So should we use name or organization_name? name is more generic and should perhaps for that reason be used.
-
Or entity_name?
-
name
is already a JWT claim with a defined meaning. -
entity_name, sort of. The intention was to capture the name of the entity responsible for the federation entity not the name of the federation entity itself. entity_name sounds like it’s the name of the entity. So we're back at organization_name.
-
+1 for organization_name , for the sake of consistency with the existing OP and RP metadata parameter. That the owner may be a physical person shouldn’t be much of a problem, I hope.
entity_name can be misleading, because it can mean a name describing the OP or RP.
-
Giuseppe, can you create a PR changing “name” to “organization_name” and adding a comment the organization can actually also be a person? Thanks.
-
reporter -
- changed status to resolved
- Log in to comment
I’m not so sure. organization_name are obviously the name of an organisation. The entity owning a federation entity doesn’t necessarily have to be an organization. It could even be a person.