<?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: Token and Permission Updates in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Token-and-Permission-Updates/m-p/490599#M24540</link>
    <description>&lt;P&gt;The SDK will do most of the work for you, so I&amp;nbsp;recommend following the SDK examples. You can find &lt;A href="https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/authorize/src/main/java/com/dropbox/core/examples/authorize" target="_self"&gt;the examples of using the authorization flow in the latest version of the Java SDK here&lt;/A&gt;. Or if you're building an Android app, there's &lt;A href="https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android/src/main/java/com/dropbox/core/examples/android" target="_self"&gt;an example for Android here&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jan 2021 15:05:04 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-01-26T15:05:04Z</dc:date>
    <item>
      <title>Token and Permission Updates</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Token-and-Permission-Updates/m-p/490515#M24539</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I receive the mail from dbx about "Token and Permission Updates" to explain me that the Dropbox OAuth flow will no longer return long-lived access tokens. I'm using the lib&lt;/P&gt;
&lt;P&gt;&amp;lt;groupId&amp;gt;com.dropbox.core&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;lt;artifactId&amp;gt;dropbox-core-sdk&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;3.1.1&amp;lt;/version&amp;gt;&lt;/P&gt;
&lt;P&gt;I see now there is 3.1.5 version, so I will update it for sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my flow, I call the&lt;/P&gt;
&lt;P&gt;/oauth2/authorize&lt;BR /&gt;then&lt;BR /&gt;/oauth2/token&lt;BR /&gt;and&lt;BR /&gt;/2/users/get_current_account using the access token returned by the previous call.&lt;/P&gt;
&lt;P&gt;So, now this is a long-lived access token, but from sep this will be a short-lived access token, is it right?&lt;BR /&gt;What should I do? Should I check the expiration time of this access token, and then ask which api for having the long-lived one?&lt;/P&gt;
&lt;P&gt;Or should I recall /oauth2/token every time?&lt;/P&gt;
&lt;P&gt;Is there some example I can see ?&lt;/P&gt;
&lt;P&gt;thanks a lot&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 11:22:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Token-and-Permission-Updates/m-p/490515#M24539</guid>
      <dc:creator>luigia</dc:creator>
      <dc:date>2021-01-26T11:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Token and Permission Updates</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Token-and-Permission-Updates/m-p/490599#M24540</link>
      <description>&lt;P&gt;The SDK will do most of the work for you, so I&amp;nbsp;recommend following the SDK examples. You can find &lt;A href="https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/authorize/src/main/java/com/dropbox/core/examples/authorize" target="_self"&gt;the examples of using the authorization flow in the latest version of the Java SDK here&lt;/A&gt;. Or if you're building an Android app, there's &lt;A href="https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android/src/main/java/com/dropbox/core/examples/android" target="_self"&gt;an example for Android here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 15:05:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Token-and-Permission-Updates/m-p/490599#M24540</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-01-26T15:05:04Z</dc:date>
    </item>
  </channel>
</rss>

