<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bug on duo auth endpoint in APIs</title>
    <link>https://community.cisco.com/t5/apis/bug-on-duo-auth-endpoint/m-p/4880291#M298</link>
    <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hmm, why would you expect a POST to &lt;CODE&gt;auth&lt;/CODE&gt; with a valid passcode to fail?&lt;/P&gt;
&lt;P&gt;Either way, a correctly constructed request will return 200 and a result.&lt;/P&gt;
&lt;P&gt;Note that &lt;CODE&gt;userID&lt;/CODE&gt; isn’t a valid parameter, but &lt;CODE&gt;user_id&lt;/CODE&gt; is. If you are truly sending &lt;CODE&gt;userID&lt;/CODE&gt; then &lt;EM&gt;that&lt;/EM&gt; is expected to return &lt;CODE&gt;stat: FAIL&lt;/CODE&gt; telling you there’s a missing request parameter.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 29 Oct 2021 12:27:25 GMT</pubDate>
    <dc:creator>DuoKristina</dc:creator>
    <dc:date>2021-10-29T12:27:25Z</dc:date>
    <item>
      <title>Bug on duo auth endpoint</title>
      <link>https://community.cisco.com/t5/apis/bug-on-duo-auth-endpoint/m-p/4880288#M295</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;When I send a request with the following;&lt;/P&gt;
&lt;P&gt;POST /auth/v2/auth&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;async, 0&lt;/LI&gt;
&lt;LI&gt;factor, passcode,&lt;/LI&gt;
&lt;LI&gt;passcode, &lt;EM&gt;invalidPasscodeHere&lt;/EM&gt;
&lt;/LI&gt;
&lt;LI&gt;userId, &lt;EM&gt;validUserId&lt;/EM&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;it returns =&amp;gt; stat: OK instead of stat: FAIL&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Oct 2021 20:16:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/bug-on-duo-auth-endpoint/m-p/4880288#M295</guid>
      <dc:creator>Tinchito</dc:creator>
      <dc:date>2021-10-28T20:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Bug on duo auth endpoint</title>
      <link>https://community.cisco.com/t5/apis/bug-on-duo-auth-endpoint/m-p/4880289#M296</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;This isn’t a bug! The request didn’t fail. You sent invalid information (a bad passcode) in an API request that succeeded. The information sent with the API response indicates that the passcode validation failed.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="lang-auto"&gt;{
    "response": {
        "result": "deny",
        "status": "deny",
        "status_msg": "Incorrect passcode. Please try again."
    },
    "stat": "OK"
}
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Oct 2021 21:06:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/bug-on-duo-auth-endpoint/m-p/4880289#M296</guid>
      <dc:creator>DuoKristina</dc:creator>
      <dc:date>2021-10-28T21:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bug on duo auth endpoint</title>
      <link>https://community.cisco.com/t5/apis/bug-on-duo-auth-endpoint/m-p/4880290#M297</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;ASIDE class="quote group-Duo_Staff" data-username="DuoKristina" data-post="2" data-topic="10714"&gt;
&lt;DIV class="title"&gt;
&lt;DIV class="quote-controls"&gt;&lt;/DIV&gt;
&lt;IMG width="20" height="20" src="https://community.cisco.com/legacyfs/online/ciscoduo/avatar_quotes/duokristina.png" style="display : inline;" /&gt; DuoKristina:&lt;/DIV&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;This isn’t a bug! The request didn’t fail. You sent invalid information (a bad passcode) in an API request that succeeded. The information sent with the API response indicates that the passcode validation failed.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="lang-auto"&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/ASIDE&gt;
&lt;P&gt;Sorry, I should have written: validPasscode.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Oct 2021 21:31:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/bug-on-duo-auth-endpoint/m-p/4880290#M297</guid>
      <dc:creator>Tinchito</dc:creator>
      <dc:date>2021-10-28T21:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Bug on duo auth endpoint</title>
      <link>https://community.cisco.com/t5/apis/bug-on-duo-auth-endpoint/m-p/4880291#M298</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hmm, why would you expect a POST to &lt;CODE&gt;auth&lt;/CODE&gt; with a valid passcode to fail?&lt;/P&gt;
&lt;P&gt;Either way, a correctly constructed request will return 200 and a result.&lt;/P&gt;
&lt;P&gt;Note that &lt;CODE&gt;userID&lt;/CODE&gt; isn’t a valid parameter, but &lt;CODE&gt;user_id&lt;/CODE&gt; is. If you are truly sending &lt;CODE&gt;userID&lt;/CODE&gt; then &lt;EM&gt;that&lt;/EM&gt; is expected to return &lt;CODE&gt;stat: FAIL&lt;/CODE&gt; telling you there’s a missing request parameter.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 29 Oct 2021 12:27:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/bug-on-duo-auth-endpoint/m-p/4880291#M298</guid>
      <dc:creator>DuoKristina</dc:creator>
      <dc:date>2021-10-29T12:27:25Z</dc:date>
    </item>
  </channel>
</rss>

