The purpose of this document is to validate that a Shibboleth SP is properly configured to federate with either the Penn or InCommon IdPs. Upon successful completion of this guide, the SP will be receiving the attributes necessary to authorize users to use your application.
The following must be prepared in order to validate a Shibboleth SP configuration:
Error 404 when accessing protected content
If you receive this error when you would normally be redirected to the IdP’s login page, then there are multiple possible causes:
- If the error occurs before the redirect to the IdP:
- The address may have been typed into the browser incorrectly. Check that it is correct and try again.
- The SP and/or web server may not be running. Ensure that they are up and running with no errors and try again.
- If the error occurs after the redirect:
- There may be an error with the metadata for the IdP. Ensure that the correct metadata for the IdP is imported into the SP.
- The IdP may be currently down/non-responsive. Check the Penn WebLogin Status page at status.net.isc.upenn.edu. Click the Authentication link under WebLogin server and find the Shibboleth server’s status.
- The SP’s host machine may not be able to reach the IdP’s host machine. Attempt to reach the IdP directly from the SP host machine. Attempt to telnet into the secure port if this fails. If this fails as well, contact the team responsible for managing your local network.
Shibboleth metadata error
There is an error in the configuration file for the SP. Check the entityID for the IdP in the shibboleth2.xml configuration file and make sure that it is accurate.
Failure to log in
Ensure that you have an account on the IdP and that it was inputted correctly. If you are still having issues, contact the Penn WebLogin Team.
Signing Error
Shibboleth may give this error when returning to the protected page after logging in. If you receive this error, then there are two possible causes:
- The security certificate in the IdP’s metadata does not match the security certificate that the SP has access to. Contact the Penn WebLogin Team to resolve this issue.
- The security certificate in the SP’s metadata does not match the security certificate that the IdP has access to. Contact the Penn WebLogin Team to correct the metadata or certificates.
Incorrect or missing attributes
You may notice this when looking at the Sessions page for the SP. Contact the Penn WebLogin Team to ensure that all necessary attributes are being sent. The attributes may need to be verified in the application itself.
Attributes with incorrect values
If the attributes sent over by the IdP contain the wrong values, the mapping for the attributes may be incorrect. Contact the Penn WebLogin Team and ensure that the correct values are being mapped to the attributes that they are sending.
Unable to meet security requirements
Typically, this is the result of trying to access the IdP before the service provider’s metadata is in place. If the service provider’s metadata was recently transferred to the IdP, allow time for processing. Otherwise, contact the Penn WebLogin Team.