<div dir="ltr">Yes, we do have that set --- which I *THINK* we can confirm with the fact that it is trying to run the Health Check, and failing. <br><br>Out of curiosity, I have changed the nextFlow to null, and tested -- we successfully log into the test SP, and we don't see any Duo related logs in idp-process.log, so I think we are executing the right plugin....<div><br></div><div>Jeff</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 18, 2023 at 10:14 AM Hong Ye via users <<a href="mailto:users@shibboleth.net">users@shibboleth.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg5573032386447398982">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="m_5573032386447398982WordSection1">
<p class="m_5573032386447398982p1"><span style="font-size:9pt;font-family:Arial,sans-serif">Hi Jeff,<u></u><u></u></span></p>
<p class="m_5573032386447398982p1"><span style="font-size:9pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="m_5573032386447398982p1"><span style="font-size:9pt;font-family:Arial,sans-serif">In <span class="m_5573032386447398982s1">
authn/mfa-authn-config.xml, have you set the flow to use DuoOIDC?</span><u></u><u></u></span></p>
<p class="m_5573032386447398982p1"><span class="m_5573032386447398982s1"><span style="font-size:9pt;font-family:Arial,sans-serif">nextFlow = "authn/DuoOIDC";</span></span><span style="font-size:9pt;font-family:Arial,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="m_5573032386447398982p1"><span class="m_5573032386447398982s1"><span style="font-size:9pt;font-family:Arial,sans-serif">Hong</span></span><span style="font-size:9pt;font-family:Arial,sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal" style="margin-bottom:12pt"><b><span style="font-size:12pt;color:black">From:
</span></b><span style="font-size:12pt;color:black">users <<a href="mailto:users-bounces@shibboleth.net" target="_blank">users-bounces@shibboleth.net</a>> on behalf of Jeff Chapin via users <<a href="mailto:users@shibboleth.net" target="_blank">users@shibboleth.net</a>><br>
<b>Date: </b>Wednesday, January 18, 2023 at 10:58 AM<br>
<b>To: </b>Shib Users <<a href="mailto:users@shibboleth.net" target="_blank">users@shibboleth.net</a>><br>
<b>Cc: </b>Jeff Chapin <<a href="mailto:jeff.chapin@uni.edu" target="_blank">jeff.chapin@uni.edu</a>><br>
<b>Subject: </b>Shibboleth 4.2.1 and Duo with Nimbus Client issues<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal">All,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I am in the process of installing Shibboleth 4.2.1, and I am attempting to configure Duo (via the Nimbus client), and I am running into issues. <br>
<br>
I have installed the module, and I have configured a custom Http Client to work with out outbound proxy. I *appear* to be communicating with Duo, but I am getting the following error from Duo in response to the health check:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<pre style="background:rgb(244,245,247);max-height:30em;white-space:pre-wrap;overflow:auto"><span style="font-size:9pt;color:rgb(23,43,77)">2023-01-12 13:48:57,330 - 10.1.142.23 - DEBUG [org.apache.http.wire:87] - http-outgoing-0 << </span><span class="m_5573032386447398982gmail-code-quote"><span style="font-size:9pt;color:rgb(0,145,0)">"{"</span></span><span style="font-size:9pt;color:rgb(23,43,77)">stat</span><span class="m_5573032386447398982gmail-code-quote"><span style="font-size:9pt;color:rgb(0,145,0)">": "</span></span><span style="font-size:9pt;color:rgb(23,43,77)">FAIL</span><span class="m_5573032386447398982gmail-code-quote"><span style="font-size:9pt;color:rgb(0,145,0)">", "</span></span><span style="font-size:9pt;color:rgb(23,43,77)">code</span><span class="m_5573032386447398982gmail-code-quote"><span style="font-size:9pt;color:rgb(0,145,0)">": 40002, "</span></span><span style="font-size:9pt;color:rgb(23,43,77)">timestamp</span><span class="m_5573032386447398982gmail-code-quote"><span style="font-size:9pt;color:rgb(0,145,0)">": 1673552937, "</span></span><span style="font-size:9pt;color:rgb(23,43,77)">message</span><span class="m_5573032386447398982gmail-code-quote"><span style="font-size:9pt;color:rgb(0,145,0)">": "</span></span><span style="font-size:9pt;color:rgb(23,43,77)">invalid_client</span><span class="m_5573032386447398982gmail-code-quote"><span style="font-size:9pt;color:rgb(0,145,0)">", "</span></span><span style="font-size:9pt;color:rgb(23,43,77)">message_detail</span><span class="m_5573032386447398982gmail-code-quote"><span style="font-size:9pt;color:rgb(0,145,0)">": "</span></span><span style="font-size:9pt;color:rgb(23,43,77)">Failed to verify signature.</span><span class="m_5573032386447398982gmail-code-quote"><span style="font-size:9pt;color:rgb(0,145,0)">"}"</span></span><span style="font-size:9pt;color:rgb(23,43,77)"><u></u><u></u></span></pre>
</div>
<div>
<p class="MsoNormal"><br>
This leads me to believe that we are correctly contacting Duo -- but it does not like what we are sending. <br>
<br>
My duo-oidc.properties contains:<u></u><u></u></p>
</div>
<blockquote style="margin-left:30pt;margin-right:0in">
<div>
<p class="MsoNormal">idp.duo.oidc.apiHost = <a href="http://api-REDACTED.duosecurity.com" target="_blank">
api-REDACTED.duosecurity.com</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">idp.duo.oidc.clientId = DREDACTEDA<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">idp.duo.oidc.redirectURL = <a href="https://REDACTED.uni.edu/idp/profile/Authn/Duo/2FA/duo-callback" target="_blank">
https://REDACTED.uni.edu/idp/profile/Authn/Duo/2FA/duo-callback</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt">idp.duo.oidc.audit.enabled = true<br>
<br>
<u></u><u></u></p>
</div>
</blockquote>
<div>
<div>
<p class="MsoNormal">My secret.properties contains:<u></u><u></u></p>
</div>
</div>
<blockquote style="margin-left:30pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">idp.duo.oidc.secretKey = 9REDACTEDX<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</blockquote>
<p class="MsoNormal">I have confirmed that the clientID and the secretKey match the Client ID and Client Secret in the Duo control panel, and that the Universal Prompt is enabled for this pool. <br>
<br>
<br>
We have MFA set in our idp.properties:<u></u><u></u></p>
<blockquote style="margin-left:30pt;margin-right:0in">
<div>
<p class="MsoNormal">idp.authn.flows= MFA<u></u><u></u></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">and we are specifying nextFlow = "authn/DuoOIDC"; in our checkSecondFactor script, so it should be using this config.<br>
<br>
This brings me to my questions:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">1) Is there anything obvious I am overlooking?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2) Is there any way to crank up the logging for net.shibboleth.idp.plugin.authn.duo.nimbus so that I can see what clientID we are sending to Duo? If we are pulling that value from somewhere else, seeing what is sent would help locate *where*<br>
<br>
Thanks for your time,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Jeff<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<pre>Jeff Chapin,<u></u><u></u></pre>
<p class="MsoNormal">Panther eSports Adviser <br>
Systems/Applications Administrator<br>
ITS-IS, University of Northern Iowa<br>
Phone: 319-273-3162 Email: <a href="mailto:Jeff.Chapin@uni.edu" target="_blank">Jeff.Chapin@uni.edu</a>
<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
-- <br>
For Consortium Member technical support, see <a href="https://shibboleth.atlassian.net/wiki/x/ZYEpPw" rel="noreferrer" target="_blank">https://shibboleth.atlassian.net/wiki/x/ZYEpPw</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a><br>
</div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><pre cols="72">Jeff Chapin,</pre>Panther eSports Adviser <br>Systems/Applications Administrator<br>ITS-IS, University of Northern Iowa<br>Phone: 319-273-3162 Email: <a href="mailto:Jeff.Chapin@uni.edu" target="_blank">Jeff.Chapin@uni.edu</a> </div></div></div></div>