<?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 ErrorCode=No_Openid_Response in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ErrorCode-No-Openid-Response/m-p/720026#M31852</link>
    <description>&lt;P&gt;Hello! I'm trying to integrate Salesforce with Dropbox and got Error in the URL: /AuthorizationError?ErrorCode=No_Openid_Response&amp;amp;ErrorDescription=Bad+response.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I would also like to get a permanent token to get around this problem, but when I click on the generate button I get a non-permanent token, there is also no button to set the validity time&lt;/P&gt;&lt;P&gt;Do you have any ideas what I'm doing wrong?&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2023 10:10:41 GMT</pubDate>
    <dc:creator>Kate Andreeshcheva</dc:creator>
    <dc:date>2023-10-10T10:10:41Z</dc:date>
    <item>
      <title>ErrorCode=No_Openid_Response</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ErrorCode-No-Openid-Response/m-p/720026#M31852</link>
      <description>&lt;P&gt;Hello! I'm trying to integrate Salesforce with Dropbox and got Error in the URL: /AuthorizationError?ErrorCode=No_Openid_Response&amp;amp;ErrorDescription=Bad+response.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I would also like to get a permanent token to get around this problem, but when I click on the generate button I get a non-permanent token, there is also no button to set the validity time&lt;/P&gt;&lt;P&gt;Do you have any ideas what I'm doing wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 10:10:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ErrorCode-No-Openid-Response/m-p/720026#M31852</guid>
      <dc:creator>Kate Andreeshcheva</dc:creator>
      <dc:date>2023-10-10T10:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorCode=No_Openid_Response</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ErrorCode-No-Openid-Response/m-p/720061#M31853</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1754669"&gt;@Kate Andreeshcheva&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hello! I'm trying to integrate Salesforce with Dropbox and got Error in the URL: /AuthorizationError?ErrorCode=No_Openid_Response&amp;amp;ErrorDescription=Bad+response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1754669"&gt;@Kate Andreeshcheva&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The error you mentioned doesn't come from Dropbox API, so you have to figure out where it comes from and if related somehow to Dropbox, how exactly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1754669"&gt;@Kate Andreeshcheva&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;I would also like to get a permanent token to get around this problem, but when I click on the generate button I get a non-permanent token, there is also no button to set the validity time&lt;/P&gt;&lt;P&gt;Do you have any ideas what I'm doing wrong?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If you mean access token, no, you cannot get permanent access token. Such option was deprecated long time ago and already dropped for all new tokens (in spite that existing long lived access tokens whenever available/left still work). For long term access you need refresh token (intermediate token that assists access token regeneration and keep it valid). The refresh token doesn't expire automatic and is long lived in this context. Unfortunately, there isn't a way to get such token from application console like it was for long lived access token (not yet at least). For refresh token you will need to perform OAuth flow either flow embedded as algorithm in your application/plugin or externally by hands. If not using some supported SDK, you will need to take care for refreshing process too - mandatory within your application/plugin. If you use some of the supported SDKs, it's done there, so the only thing you'll need to do is proper client object initialization and everything else will stay the same.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 12:26:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ErrorCode-No-Openid-Response/m-p/720061#M31853</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-10-10T12:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorCode=No_Openid_Response</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ErrorCode-No-Openid-Response/m-p/720067#M31855</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1754669"&gt;@Kate Andreeshcheva&lt;/a&gt;&amp;nbsp;Здравко is correct. Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find &lt;A href="https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens#updating-access-token-type" target="_blank" rel="noopener noreferrer"&gt;more information on this migration here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. Refresh tokens do not expire automatically and can be used repeatedly. You can find more information in the &lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank" rel="noopener noreferrer"&gt;OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank" rel="noopener noreferrer"&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" target="_blank" rel="noopener noreferrer"&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;And as Здравко said, the error you shared does not appear to be coming from the Dropbox API itself. If you still need help with the Dropbox API, please share:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the name and version number of the platform and SDK/library you are using, if any&lt;/LI&gt;
&lt;LI&gt;the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)&lt;/LI&gt;
&lt;LI&gt;the full text of any error or unexpected output from the Dropbox API itself&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 10 Oct 2023 12:44:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ErrorCode-No-Openid-Response/m-p/720067#M31855</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-10-10T12:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorCode=No_Openid_Response</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ErrorCode-No-Openid-Response/m-p/720143#M31856</link>
      <description>&lt;P&gt;I use Salesforce Auth Providers and Named Credentials for authorization.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.salesforce.com/s/articleView?id=sf.safety_cloud_auth_provider_creds.htm&amp;amp;type=5" target="_blank"&gt;https://help.salesforce.com/s/articleView?id=sf.safety_cloud_auth_provider_creds.htm&amp;amp;type=5&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;After creating the provider, it generates a connected callback for me, which I place in my dropbox app.&lt;BR /&gt;Then I try to authorize, after entering my username and password, I am redirected to my connected callback with errors in the parameters: my_domain/_nc_external/identity/sso/ui/AuthorizationError?ErrorCode=No_Openid_Response&amp;amp;ErrorDescription=Bad+response&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I found the same problem on the SF forum, and it seems that the problem is that Dropbox sends user information as jwt, but salesforce expects json. So far this is the only explanation for what is happening&lt;BR /&gt;&lt;A href="https://salesforce.stackexchange.com/questions/202308/openid-connect-bad-response" target="_blank"&gt;https://salesforce.stackexchange.com/questions/202308/openid-connect-bad-response&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is it possible to customize the return type of response from Dropbox?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 15:20:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ErrorCode-No-Openid-Response/m-p/720143#M31856</guid>
      <dc:creator>Kate Andreeshcheva</dc:creator>
      <dc:date>2023-10-10T15:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorCode=No_Openid_Response</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ErrorCode-No-Openid-Response/m-p/720178#M31858</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1754669"&gt;@Kate Andreeshcheva&lt;/a&gt;, You're not performing the OAuth flow to Dropbox yourself as you have described. If you have some suspicious behavior from your platform ask the platform supplier; it's not a Dropbox product!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1754669"&gt;@Kate Andreeshcheva&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;I found the same problem on the SF forum, and it seems that the problem is that Dropbox sends user information as jwt, but salesforce expects json. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@D88F213CAFB196B6AB70612B08AD9D31/emoticons/1f601.png" alt=":beaming_face_with_smiling_eyes:" title=":beaming_face_with_smiling_eyes:" /&gt; For sure it's not the same and doesn't explain anything. The access point &lt;A title="An app calls this endpoint to acquire a bearer token once the user has authorized the app" href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token" target="_blank" rel="noopener"&gt;/oauth2/token&lt;/A&gt; gives back JSON, not something else &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;. If your platform does something else... 🤷 it's another story.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1754669"&gt;@Kate Andreeshcheva&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;BR /&gt;Is it possible to customize the return type of response from Dropbox?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No, JSON is always returning.&lt;/P&gt;&lt;P&gt;Hope this gives direction.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 16:33:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ErrorCode-No-Openid-Response/m-p/720178#M31858</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-10-10T16:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: ErrorCode=No_Openid_Response</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ErrorCode-No-Openid-Response/m-p/720214#M31859</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1754669"&gt;@Kate Andreeshcheva&lt;/a&gt; To confirm what Здравко said that's not made by Dropbox, and so Dropbox can't offer support for that. If you need help on the Salesforce side of things, you'll need to contact Salesforce.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for the Dropbox side, as Здравко linked to you can find &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token" target="_blank"&gt;the documentation for the Dropbox /oauth2/token endpoint here&lt;/A&gt;, and you can also find &lt;A href="https://developers.dropbox.com/oidc-guide" target="_blank"&gt;more information on our OpenID Connect functionality here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 18:04:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/ErrorCode-No-Openid-Response/m-p/720214#M31859</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-10-10T18:04:36Z</dc:date>
    </item>
  </channel>
</rss>

