Available Indexes

Automatic Login for Partner Institutions

By wrapping a HathiTrust url or item handle with a single sign-on URL, it is possible to construct a link to a HathiTrust web page or to a work in the collecation that automatically passes users from HathiTrust partner institutions through their institution's authentication service, effectively "automatically" logging them into HathiTrust.

URLs must be constructed in the following way:

http://hdl.handle.net/2027/$ID?urlappend=%3Bsignon=swle:$ENTITY_ID

https://www.hathitrust.org/?signon=swle:$ENTITY_ID

https://catalog.hathitrust.org/Record/$RECORD_ID?signon=swle:ENTITY_ID

Where $ID is the HathiTrust item ID (for example mdp.39015015394847), $RECORD_ID is the catalog record ID (for example 007685144), and $ENTITY_ID is your Shibboleth identity provider (IdP) entity ID.

  

For example, given the permanent handle url

http://hdl.handle.net/2027/mdp.39015015394847

...and the Shibboleth IdP entity ID for University of Michigan

https://shibboleth.umich.edu/idp/shibboleth

...you can append the "signon" parameter to automatically pass users through your institution's Shibboleth IDP:

http://hdl.handle.net/2027/mdp.39015015394847?urlappend=%3Bsignon=swle:https://shibboleth.umich.edu/idp/shibboleth

  

In another example, given the HathiTrust homepage and the Shibboleth IdP entity ID for University of Minnesota: 

https://www.hathitrust.org/?signon=swle:urn:mace:incommon:umn.edu

 

And for an example using a catalog record url and the Shibboleth IdP entity ID for Cornell University: 

https://catalog.hathitrust.org/Record/007685144?signon=swle:https://shibidp.cit.cornell.edu/idp/shibboleth

Please contact feedback@issues.hathitrust.org with any questions or comments.