Authn Context Error on Setting up Duo

Botsford, Benjamin T ben.botsford at austin.utexas.edu
Fri Jun 30 18:05:18 EDT 2017


Hey everyone,

Apologies in advance: I’m very new to Shibboleth.

My team had set up Duo with the custom plugin prior to the release of IdP v3.3. In order to upgrade, I had to go back and undo all of the customizations related to Duo. I got the upgraded deployment working for the Password authn flow, but I’m getting a “urn:oasis:names:tc:SAML:2.0:status:NoAuthnContext” error when I try to access a Duo-protected resource in our test environment.

Here are the changes I made to configure Duo:

  *   Added our Duo config (integrationKey, secretKey, apiHost, applicationKey) to conf/authn/duo.properties
  *   Set up three beans in supportedPrincipals for the “Duo” authentication flow in conf/authn/general-authn.xml
     *   <bean parent=”shibboleth.SAML2AuthnContextClassRef" c:classRef="{our 2FA context}" />
     *   <bean parent=”shibboleth.SAML1AuthenticationMethod" c:classRef="urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport" />
     *   <bean parent=”shibboleth.SAML1AuthenticationMethod" c:classRef="{our 2FA context}" />
  *   Changed conf/idp.properties
     *   idp.authn.flows=Password|Duo

Does anyone know if any of these changes are incorrect, or if there’s something that I forgot to change?


Probably unhelpful additional information:

The test SP was already configured to use this authentication context. Here’s what we’re seeing from there:
<samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
AssertionConsumerServiceURL="https://example-t01.com/Shibboleth.sso/SAML2/POST"
Destination="https://example-t01.com/idp/profile/SAML2/Redirect/SSO”
ID="_XXXXXXXXXXXXXXXX"
IssueInstant="2017-06-30T21:17:26Z"
ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Version="2.0">
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">https://example-sp-t01.com/shibboleth</saml:Issuer>
<samlp:NameIDPolicy AllowCreate="1"/>
<samlp:RequestedAuthnContext>
<saml:AuthnContextClassRef xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">{our 2FA context}</saml:AuthnContextClassRef>
</samlp:RequestedAuthnContext>
</samlp:AuthnRequest>

Thanks so much for wading through that, and any thoughts you might have.

-Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170630/8e81b202/attachment-0001.html>


More information about the users mailing list