<?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: Generating refresh token offline in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generating-refresh-token-offline/m-p/728679#M32231</link>
    <description>&lt;P&gt;With an /oauth2/authorize URL like that, the "Please sign in with a work account." message indicates that the app key in the client_id URL parameter is for an app that uses some team scope(s), but the account you're signing in to is not on a team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When using any team scopes, the app would be connected to the entire Dropbox team, in order to use functionality specific to Dropbox teams. Accordingly, only Dropbox team admins can authorize such apps, and the Dropbox web site would prompt you to sign in to a team account accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Upgrading to a team account would resolve that, but that would only be necessary if you do need access to team functionality. If you don't need any team functionality, you should instead disable any team scopes on the app. You can manage the app's scopes from the "Permissions" tab of the app's page on &lt;A href="https://www.dropbox.com/developers/apps" target="_self"&gt;the App Console&lt;/A&gt; while signed in to the account that owns the app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see which scope is required for each endpoint in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation" target="_blank"&gt;the API documentation&lt;/A&gt;. You should enable only the scopes needed for the functionality in your app.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2023 19:39:29 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2023-11-10T19:39:29Z</dc:date>
    <item>
      <title>Generating refresh token offline</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generating-refresh-token-offline/m-p/728648#M32230</link>
      <description>&lt;P&gt;I have a PHP application that must send files to a Dropbox account every day. I read that I have to use refresh token offline for it to work. So I go to this url to generate the first refresh token:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/oauth2/authorize?token_access_type=offline&amp;amp;response_type=code&amp;amp;client_id=MYAPPCODE" target="_blank" rel="noopener"&gt;https://www.dropbox.com/oauth2/authorize?token_access_type=offline&amp;amp;response_type=code&amp;amp;client_id=MYAPPCODE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It redirect me on a Log screen and when I try to log in I have the message "Please sign in with a work account."&lt;/P&gt;&lt;P&gt;Do I need a business account?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read this on this subject:&lt;BR /&gt;&lt;EM&gt;If you don't have a work account and only want to authorize non-team functionality, you will need to configure your app/authorization flow without the team scopes.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if I buy a business account it will work or their is other meen to do it?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 18:39:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generating-refresh-token-offline/m-p/728648#M32230</guid>
      <dc:creator>Gigueur</dc:creator>
      <dc:date>2023-11-10T18:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Generating refresh token offline</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generating-refresh-token-offline/m-p/728679#M32231</link>
      <description>&lt;P&gt;With an /oauth2/authorize URL like that, the "Please sign in with a work account." message indicates that the app key in the client_id URL parameter is for an app that uses some team scope(s), but the account you're signing in to is not on a team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When using any team scopes, the app would be connected to the entire Dropbox team, in order to use functionality specific to Dropbox teams. Accordingly, only Dropbox team admins can authorize such apps, and the Dropbox web site would prompt you to sign in to a team account accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Upgrading to a team account would resolve that, but that would only be necessary if you do need access to team functionality. If you don't need any team functionality, you should instead disable any team scopes on the app. You can manage the app's scopes from the "Permissions" tab of the app's page on &lt;A href="https://www.dropbox.com/developers/apps" target="_self"&gt;the App Console&lt;/A&gt; while signed in to the account that owns the app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see which scope is required for each endpoint in &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation" target="_blank"&gt;the API documentation&lt;/A&gt;. You should enable only the scopes needed for the functionality in your app.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 19:39:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Generating-refresh-token-offline/m-p/728679#M32231</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-11-10T19:39:29Z</dc:date>
    </item>
  </channel>
</rss>

