<?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 Error exchanging code for 2fa token in APIs</title>
    <link>https://community.cisco.com/t5/apis/error-exchanging-code-for-2fa-token/m-p/5192204#M796</link>
    <description>&lt;P&gt;I am trying to integrate the Web SDK v4, but receive the following error:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Error exchanging the code for a 2fa token&lt;/P&gt;&lt;P&gt;when trying to validate the code received from the redirect after authentication. The value in the redirected query string and the value printed to the logs of our app is the same. I don't understand why it's failing.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2024 17:00:22 GMT</pubDate>
    <dc:creator>Owlbear</dc:creator>
    <dc:date>2024-09-09T17:00:22Z</dc:date>
    <item>
      <title>Error exchanging code for 2fa token</title>
      <link>https://community.cisco.com/t5/apis/error-exchanging-code-for-2fa-token/m-p/5192204#M796</link>
      <description>&lt;P&gt;I am trying to integrate the Web SDK v4, but receive the following error:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Error exchanging the code for a 2fa token&lt;/P&gt;&lt;P&gt;when trying to validate the code received from the redirect after authentication. The value in the redirected query string and the value printed to the logs of our app is the same. I don't understand why it's failing.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 17:00:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/error-exchanging-code-for-2fa-token/m-p/5192204#M796</guid>
      <dc:creator>Owlbear</dc:creator>
      <dc:date>2024-09-09T17:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error exchanging code for 2fa token</title>
      <link>https://community.cisco.com/t5/apis/error-exchanging-code-for-2fa-token/m-p/5192722#M797</link>
      <description>&lt;P&gt;There are a few reasons this could happen:&lt;BR /&gt;- make sure that the redirect_uri used matches in both the&amp;nbsp;&lt;SPAN&gt;/oauth/v1/authorize and the&amp;nbsp;/oauth/v1/token requests&lt;BR /&gt;- make sure your application/server can contact Duo's service for the token verification (the actual authentication happening in the Duo redirect happens in the client's browser)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 14:02:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/error-exchanging-code-for-2fa-token/m-p/5192722#M797</guid>
      <dc:creator>DuoKristina</dc:creator>
      <dc:date>2024-09-10T14:02:55Z</dc:date>
    </item>
  </channel>
</rss>

