By default eduTEAMS Discovery Service lists all eduGAIN IdPs for user to select from. This is not always desirable and therefore eduTEAMS Discovery Service offers possibility to filter IdPs from the list. This allows SP admin to craft a list (or several lists) specifically targeting the user base of the SP.
Creating the filter - eduTEAMS Filter Generator
The filter is generated using eduTEAMS Filter Generator.
The filter consists of two filtering types.
Allow and Deny lists of entity categories
You may create both allow and deny lists of entity categories.
- If allow list is defined, all IdPs not matching atleast one of the categories on it are filtered out.
- If deny list is defined, all IdPs matching any of the categories on it are filtered out.
Allow or Deny list of IdPs
You may create allow or deny list of IdPs.
- If allow list is defined, all IdPs not on it are filtered out.
- If deny list is defined, all IdPs on it are filtered out.
Applying the filter in discovery request
The filter generated with the tool is set as query string parameter to discovery request. It can be set either by value or by reference. The maximum length for discovery request query parameters is 512 bytes. If the filter is large exceeding that value tyou should set the filter by reference.
Filter by value - filter
https://discovery.eduteams.org/wayf.php?filter=eyJhbGxvd0hvc3RlbCI6dHJ1ZSwiYWxsb3dIb3N0ZWxSZWciOnRydWV9Cg==
Filter by reference - efilter
https://discovery.eduteams.org/wayf.php?efilter=www.example.com/filter
where contents of www.example.com/filter would be
eyJhbGxvd0hvc3RlbCI6dHJ1ZSwiYWxsb3dIb3N0ZWxSZWciOnRydWV9Cg==