Service Provider Login Link Composer
This web page let's you compose login links for your AAI-protected resource that will redirect users directly to a specific Home Organization for authentication. This way users won't be redirected to the WAYF service at all and they also don't have to choose their Home Organization from a drop down list but instead just click on the login links you provide them.
It is assumed that you use a standard Shibboleth Service Provider 1.3.x or 2.x with default session initiators.
An example of a direct login link that would be generated by the below script is:
Example link: Login via SWITCH (SWITCHaai)
Note:
Should the Identity Provider change its entityId, the link will have to reflect this change. Otherwise users will see an error at their Service Provider that the Identity Provider is unknown. Due to the migration to Shibboleth 2, entityIDs are likely to change.
Recommendation:
In case your resource has users from more than 3 different organizations, it may be a better idea to use an own Discovery Service/WAYF or an the embedded WAYF that will display the organizations in a drop down list. This way, you save some space and it may be less confusing for users to choose their organization because cookies will remember their last choice.
