<?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: Andriod App to Only use short tokens in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Andriod-App-to-Only-use-short-tokens/m-p/527351#M25569</link>
    <description>&lt;P&gt;No, the authorization functionality for Android in the Java SDK automatically requests "offline" access (i.e., to retrieve a refresh token), and doesn't offer the ability to configure that. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(For reference, the &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v4.0.0/com/dropbox/core/DbxWebAuth.Request.Builder.html" target="_self"&gt;DbxWebAuth&lt;/A&gt; functionality does offer the ability to specify the token type, but that's not meant or built for use on Android.)&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 18:13:30 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-06-16T18:13:30Z</dc:date>
    <item>
      <title>Andriod App to Only use short tokens</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Andriod-App-to-Only-use-short-tokens/m-p/527348#M25568</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All this is quite new to me but I've read many post regarding new workflow. Thus, sorry if what I am saying makes no sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've read that using&amp;nbsp;&lt;SPAN&gt;startOAuth2PKCE&amp;nbsp;uses the new flow. However, this uses refresh tokens as well. What happens if I just want to use short lived tokens and ask the user to re-authenticate&amp;nbsp;when the short lived tokens expires. Is there another function to use for that purpose?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 10:38:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Andriod-App-to-Only-use-short-tokens/m-p/527348#M25568</guid>
      <dc:creator>raymondc</dc:creator>
      <dc:date>2021-06-17T10:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Andriod App to Only use short tokens</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Andriod-App-to-Only-use-short-tokens/m-p/527351#M25569</link>
      <description>&lt;P&gt;No, the authorization functionality for Android in the Java SDK automatically requests "offline" access (i.e., to retrieve a refresh token), and doesn't offer the ability to configure that. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(For reference, the &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v4.0.0/com/dropbox/core/DbxWebAuth.Request.Builder.html" target="_self"&gt;DbxWebAuth&lt;/A&gt; functionality does offer the ability to specify the token type, but that's not meant or built for use on Android.)&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 18:13:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Andriod-App-to-Only-use-short-tokens/m-p/527351#M25569</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-06-16T18:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Andriod App to Only use short tokens</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Andriod-App-to-Only-use-short-tokens/m-p/527356#M25570</link>
      <description>&lt;P&gt;Thank you for the quick reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use this version of&amp;nbsp;&lt;SPAN&gt;startOAuth2PKCE with scope set to null&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;public static void &lt;/SPAN&gt;&lt;SPAN&gt;startOAuth2PKCE&lt;/SPAN&gt;(Context context&lt;SPAN&gt;, &lt;/SPAN&gt;String appKey&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;                                                 DbxRequestConfig requestConfig) {&lt;/PRE&gt;&lt;P&gt;Would this gives all permissions to do anything in dropbox(upload, download,...)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 18:27:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Andriod-App-to-Only-use-short-tokens/m-p/527356#M25570</guid>
      <dc:creator>raymondc</dc:creator>
      <dc:date>2021-06-16T18:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Andriod App to Only use short tokens</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Andriod-App-to-Only-use-short-tokens/m-p/527357#M25571</link>
      <description>&lt;P&gt;If you don't specify "scope", it will default to requesting the set of scopes enabled for your app (on &lt;A href="https://www.dropbox.com/developers/apps" target="_self"&gt;the App Console&lt;/A&gt;) at the time of authorization.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 18:32:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Andriod-App-to-Only-use-short-tokens/m-p/527357#M25571</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-06-16T18:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Andriod App to Only use short tokens</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Andriod-App-to-Only-use-short-tokens/m-p/527360#M25572</link>
      <description>&lt;P&gt;Thanks for the clarifications.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 18:36:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Andriod-App-to-Only-use-short-tokens/m-p/527360#M25572</guid>
      <dc:creator>raymondc</dc:creator>
      <dc:date>2021-06-16T18:36:55Z</dc:date>
    </item>
  </channel>
</rss>

