Configure REFEDS MFA on Shibboleth SP

Last updated: 2 September 2026

MFA-specific error handling

The next step in the configuration process is error handling (refer to the SAML Integration Tutorial for Shibboleth error handling).

If the IdP does not support the requested authnContextClassRef, it will respond with a redirect to an error page (at the URL configured within shibboleth2.xml) with the status code opensaml::FatalProfileException.

Example error request parameters

The following example shows the request parameters sent to the configured errorURL when an MFA-related error occurs:

Parameter Example value
nowThu Oct 3 04:39:30 2024
requestURLhttps://validator.test.aaf.edu.au/Shibboleth.sso/SAML2/POST
errorTypeopensaml::FatalProfileException
errorTextSAML response reported an IdP error.
RelayStatehttps://validator.test.aaf.edu.au/mfa/auth/login
contactEmailmailto:support@aaf.edu.au
contactNameAAF Support
entityIDhttps://vho.test.aaf.edu.au/idp/shibboleth
eventTypeLogin
statusCodeurn:oasis:names:tc:SAML:2.0:status:Requester
statusCode2urn:oasis:names:tc:SAML:2.0:status:NoAuthnContext
statusMessageAn error occurred.


For more information on requiring MFA and error handling, refer to the links below:

Tutorial Complete!

You have completed this tutorial. Continue with the other tutorials in the Series or return to the tutorials home page.

Return Home