Group ID not in canonical form¶
This error only applies to primary and secondary schools.
In version 2.0 of the Feide schema we introduced group identifier values in eduPersonEntitlement. The group identifiers contain much of the same information as the information registered in groups. They are however structured differently, to allow us to look up all users belonging to a specific group.
To allow us to look up all users belonging to a specific group, we need to be able to determine the exact value that will be stored in eduPersonEntitlement for that group. It is therefore important that the eduPersonEntitlement value is encoded exactly as described in the documentation. This is what we refer to as “canonical form” in the error message
The most common problem is a failure to properly encode the local group identifier. It is important that it is converted to lowercase and then percent encoded.
Consider the following group value:
This represents a group with the name “Prosjekt årbok” and local group identifier
Note that the local group identifier in the group value is encoded as
%C3%85 is the precent encoding of the uppercase
To build the group identifier value, we need to transform the elements from the group value to the canonical form.
For example, the local group identifier needs to be stored in lowercase format and then percent encoded.
å is encoded as
%C3%A5, so the local group identifier part becomes
The full group identifer value should be: