<?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: Oauth2 refresh token question - what happens when the refresh token expires? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Oauth2-refresh-token-question-what-happens-when-the-refresh/m-p/561756#M26477</link>
    <description>&lt;P&gt;When you run the script, a link is provided to you via the console, which you have to paste into a browser window. Once you go to the link, a code is provided. That code is the auth_code, which has to be pasted into the console to finish the authentication sequence.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Dec 2021 15:44:05 GMT</pubDate>
    <dc:creator>FrustratedUser3</dc:creator>
    <dc:date>2021-12-01T15:44:05Z</dc:date>
    <item>
      <title>Re: Oauth2 refresh token question - what happens when the refresh token expires?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Oauth2-refresh-token-question-what-happens-when-the-refresh/m-p/561653#M26475</link>
      <description>&lt;P&gt;May I know what is the "&amp;nbsp;&lt;STRONG&gt;auth_code&lt;/STRONG&gt;" here. how can I get it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;authorize_url = auth_flow.start()&lt;BR /&gt;print("1. Go to: " + authorize_url)&lt;BR /&gt;print("2. Click \"Allow\" (you might have to log in first).")&lt;BR /&gt;print("3. Copy the authorization code.")&lt;BR /&gt;auth_code = input("Enter the authorization code here: ").strip()&lt;/P&gt;
&lt;P&gt;try:&lt;BR /&gt;oauth_result = auth_flow.finish(&lt;FONT face="arial black,avant garde"&gt;&lt;STRONG&gt;auth_code&lt;/STRONG&gt;&lt;/FONT&gt;)&lt;BR /&gt;except Exception as e:&lt;BR /&gt;print('Error: %s' % (e,))&lt;BR /&gt;exit(1)&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 14:47:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Oauth2-refresh-token-question-what-happens-when-the-refresh/m-p/561653#M26475</guid>
      <dc:creator>liu-yuxin98</dc:creator>
      <dc:date>2021-12-01T14:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Oauth2 refresh token question - what happens when the refresh token expires?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Oauth2-refresh-token-question-what-happens-when-the-refresh/m-p/561756#M26477</link>
      <description>&lt;P&gt;When you run the script, a link is provided to you via the console, which you have to paste into a browser window. Once you go to the link, a code is provided. That code is the auth_code, which has to be pasted into the console to finish the authentication sequence.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 15:44:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Oauth2-refresh-token-question-what-happens-when-the-refresh/m-p/561756#M26477</guid>
      <dc:creator>FrustratedUser3</dc:creator>
      <dc:date>2021-12-01T15:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Oauth2 refresh token question - what happens when the refresh token expires?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Oauth2-refresh-token-question-what-happens-when-the-refresh/m-p/561773#M26482</link>
      <description>&lt;P&gt;That's correct, the "auth_code" variable there should contain the "authorization code", which is a single-use code from the app authorization page that the app then exchanges for an access token and optional refresh token, by calling /oauth2/token. I recommend reading the &lt;A href="https://developers.dropbox.com/oauth-guide" target="_self"&gt;OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_self"&gt;authorization documentation&lt;/A&gt; for more information.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 16:55:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Oauth2-refresh-token-question-what-happens-when-the-refresh/m-p/561773#M26482</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-12-01T16:55:42Z</dc:date>
    </item>
  </channel>
</rss>

