<?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 authorize url in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/authorize-url/m-p/660701#M30007</link>
    <description>&lt;P&gt;is it possible to get access token without these steps&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;System.out.println(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"1. Go to: "&lt;/SPAN&gt;&lt;SPAN&gt; + authorizeUrl); &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;System.out.println(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"2. Click \"Allow\" (you might have to log in first)"&lt;/SPAN&gt;&lt;SPAN&gt;); &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;System.out.println(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"3. Copy the authorization code."&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in java&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Feb 2023 14:49:04 GMT</pubDate>
    <dc:creator>shashikiran</dc:creator>
    <dc:date>2023-02-17T14:49:04Z</dc:date>
    <item>
      <title>authorize url</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/authorize-url/m-p/660701#M30007</link>
      <description>&lt;P&gt;is it possible to get access token without these steps&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;System.out.println(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"1. Go to: "&lt;/SPAN&gt;&lt;SPAN&gt; + authorizeUrl); &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;System.out.println(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"2. Click \"Allow\" (you might have to log in first)"&lt;/SPAN&gt;&lt;SPAN&gt;); &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;System.out.println(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"3. Copy the authorization code."&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in java&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 14:49:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/authorize-url/m-p/660701#M30007</guid>
      <dc:creator>shashikiran</dc:creator>
      <dc:date>2023-02-17T14:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: authorize url</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/authorize-url/m-p/660799#M30008</link>
      <description>&lt;P&gt;If you only need a short-lived access token for your own account, you can use the "Generate" button on the app's page on &lt;A href="https://www.dropbox.com/developers/apps" target="_self"&gt;the App Console&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, no, it's not possible to bypass the authorization page step of the app authorization flow. This needs to be done manually by the user at least once. If your app needs to maintain long-term access without the user manually re-authorizing it repeatedly, the app should request "offline" access so that it gets a refresh token. The refresh token doesn't expire and can be stored and used repeatedly to get new short-lived access tokens whenever needed, without the user manually reauthorizing the app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find more information in the &lt;A href="https://developers.dropbox.com/oauth-guide" rel="noopener noreferrer" target="_blank"&gt;OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" rel="noopener noreferrer" target="_blank"&gt;authorization documentation&lt;/A&gt;. There's a basic outline of processing this flow in &lt;A href="https://dropbox.tech/developers/using-oauth-2-0-with-offline-access" rel="noopener noreferrer" target="_blank"&gt;this blog post&lt;/A&gt; which may serve as a useful example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://github.com/dropbox/dropbox-sdk-java" rel="noopener noreferrer" target="_blank"&gt;official Dropbox Java SDK&lt;/A&gt; can actually handle the refresh process for you automatically, as long as you supply the necessary credentials, e.g., as shown retrieved in &lt;A href="https://github.com/dropbox/dropbox-sdk-java/tree/main/examples/examples/src/main/java/com/dropbox/core/examples/authorize" rel="noopener noreferrer" target="_blank"&gt;the examples here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 12:30:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/authorize-url/m-p/660799#M30008</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-02-17T12:30:06Z</dc:date>
    </item>
  </channel>
</rss>

