<?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: Duo auth api - new user activation code timeout in APIs</title>
    <link>https://community.cisco.com/t5/apis/duo-auth-api-new-user-activation-code-timeout/m-p/4879371#M235</link>
    <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hi Amy,&lt;/P&gt;
&lt;P&gt;Thanks for the info, I’m probably not 100% au fait with the right terminology yet.  Hopefully this will better describe - the /enroll endpoint (&lt;A href="https://duo.com/docs/authapi#/enroll" class="inline-onebox" rel="nofollow noopener"&gt;Auth API | Duo Security&lt;/A&gt;) returns the following and the user has to scan the qr code before expiration is reached. but if expiration is reached there seems to be no api function to reset the expiration for the user - the only course of action seems to be to delete the user first and then call /enroll again - is that correct?&lt;/P&gt;
&lt;P&gt;Thanks a lot,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;“stat”: “OK”,&lt;BR /&gt;
“response”: {&lt;BR /&gt;
“activation_barcode”: “&lt;A href="https://api-eval.duosecurity.com/frame/qr?value=8LIRa5danrICkhHtkLxi-cKLu2DWzDYCmBwBHY2YzW5ZYnYaRxA" rel="nofollow noopener"&gt;https://■■■■■■■■■■■■■■■■■■■■■■■■/frame/qr?value=8LIRa5danrICkhHtkLxi-cKLu2DWzDYCmBwBHY2YzW5ZYnYaRxA&lt;/A&gt;”,&lt;BR /&gt;
“activation_code”: “duo://8LIRa5danrICkhHtkLxi-cKLu2DWzDYCmBwBHY2YzW5ZYnYaRxA”,&lt;BR /&gt;
“expiration”: 1357020061,&lt;BR /&gt;
“user_id”: “■■■■■■■■■■■■■■■■■■■■”,&lt;BR /&gt;
“username”: “49c6c3097adb386048c84354d82ea63d”&lt;BR /&gt;
}&lt;BR /&gt;
})&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 20 Aug 2019 19:49:56 GMT</pubDate>
    <dc:creator>flippery_fish</dc:creator>
    <dc:date>2019-08-20T19:49:56Z</dc:date>
    <item>
      <title>Duo auth api - new user activation code timeout</title>
      <link>https://community.cisco.com/t5/apis/duo-auth-api-new-user-activation-code-timeout/m-p/4879369#M233</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;When a new user is enrolled but they don’t respond before the activation code times out (i.e. enroll status returns invalid) as far as i can see the only course of action is to use the admin api to delete the user and enroll them again so that they get a new activation code.&lt;/P&gt;
&lt;P&gt;Is this correct or is there another way to generate a new activation code for a user that is already enrolled (but not activated)?&lt;/P&gt;
&lt;P&gt;Thanks a lot,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Aug 2019 11:59:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/duo-auth-api-new-user-activation-code-timeout/m-p/4879369#M233</guid>
      <dc:creator>flippery_fish</dc:creator>
      <dc:date>2019-08-20T11:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Duo auth api - new user activation code timeout</title>
      <link>https://community.cisco.com/t5/apis/duo-auth-api-new-user-activation-code-timeout/m-p/4879370#M234</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;
&lt;P&gt;Just to clarify for the community, there is a &lt;A href="https://help.duo.com/s/article/2260?language=en_US" rel="nofollow noopener"&gt;difference between Duo enrollment and activation&lt;/A&gt;, which you can read more about in the knowledge base. Enrollment is the process of entering a user and authentication device in Duo, while activation is the process of syncing a smartphone or tablet with the Duo cloud service via the Duo Mobile app.&lt;/P&gt;
&lt;P&gt;To help us better answer your question, could you please clarify if you are talking about enrollment links sent via email to enroll users in Duo, or activation links sent to a device for Duo Mobile?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Aug 2019 14:51:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/duo-auth-api-new-user-activation-code-timeout/m-p/4879370#M234</guid>
      <dc:creator>Amy2</dc:creator>
      <dc:date>2019-08-20T14:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Duo auth api - new user activation code timeout</title>
      <link>https://community.cisco.com/t5/apis/duo-auth-api-new-user-activation-code-timeout/m-p/4879371#M235</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hi Amy,&lt;/P&gt;
&lt;P&gt;Thanks for the info, I’m probably not 100% au fait with the right terminology yet.  Hopefully this will better describe - the /enroll endpoint (&lt;A href="https://duo.com/docs/authapi#/enroll" class="inline-onebox" rel="nofollow noopener"&gt;Auth API | Duo Security&lt;/A&gt;) returns the following and the user has to scan the qr code before expiration is reached. but if expiration is reached there seems to be no api function to reset the expiration for the user - the only course of action seems to be to delete the user first and then call /enroll again - is that correct?&lt;/P&gt;
&lt;P&gt;Thanks a lot,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;“stat”: “OK”,&lt;BR /&gt;
“response”: {&lt;BR /&gt;
“activation_barcode”: “&lt;A href="https://api-eval.duosecurity.com/frame/qr?value=8LIRa5danrICkhHtkLxi-cKLu2DWzDYCmBwBHY2YzW5ZYnYaRxA" rel="nofollow noopener"&gt;https://■■■■■■■■■■■■■■■■■■■■■■■■/frame/qr?value=8LIRa5danrICkhHtkLxi-cKLu2DWzDYCmBwBHY2YzW5ZYnYaRxA&lt;/A&gt;”,&lt;BR /&gt;
“activation_code”: “duo://8LIRa5danrICkhHtkLxi-cKLu2DWzDYCmBwBHY2YzW5ZYnYaRxA”,&lt;BR /&gt;
“expiration”: 1357020061,&lt;BR /&gt;
“user_id”: “■■■■■■■■■■■■■■■■■■■■”,&lt;BR /&gt;
“username”: “49c6c3097adb386048c84354d82ea63d”&lt;BR /&gt;
}&lt;BR /&gt;
})&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Aug 2019 19:49:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/duo-auth-api-new-user-activation-code-timeout/m-p/4879371#M235</guid>
      <dc:creator>flippery_fish</dc:creator>
      <dc:date>2019-08-20T19:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Duo auth api - new user activation code timeout</title>
      <link>https://community.cisco.com/t5/apis/duo-auth-api-new-user-activation-code-timeout/m-p/4879372#M236</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;
&lt;P&gt;Ok great, thank you for the additional context! You will need to use the &lt;A href="https://duo.com/docs/adminapi#create-activation-code" rel="nofollow noopener"&gt;Admin API to generate an activation URL&lt;/A&gt;. You can read more about this in our Admin API docs under Phones&amp;gt;Create Activation Code (I included a direct link for you as well). Duo generates a new &lt;CODE&gt;activation_url&lt;/CODE&gt; each time &lt;CODE&gt;/admin/v1/phones/[phone_id]/activation_url&lt;/CODE&gt; is called.&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 21 Aug 2019 12:56:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/duo-auth-api-new-user-activation-code-timeout/m-p/4879372#M236</guid>
      <dc:creator>Amy2</dc:creator>
      <dc:date>2019-08-21T12:56:26Z</dc:date>
    </item>
  </channel>
</rss>

