OAuth dropbox blueprint?

Dear Community, Dear Specialists,

the short validity of dropbox accesstoken forces me to use oauth instead.
Yes, I've read the dropbox OAuth description and yes, I've seen taifuns oauth.php which seems to be limited to google (?) and I am more confused as before. So please, can someone help me with the oauth procedure to login to a dropbox user account w/o user interaction? How to handle dropbox app-id and secret?

Thank you very much!

It all seems to be here:

https://puravidaapps.com/dropbox.php

Thank you but unfortunately it is not. This example uses the mentioned (short living) accesstoken. :man_shrugging:

This is generally a good thing :slight_smile:

Maybe a good read of this:

especially the section near the end about refresh tokens

I have used this approach for other APIs such as Firebase and Blogger (and Google Drive API)

I dont't know, if you understand this german phrase:"Spanische Dörfer".
In this context it means: I have more or less no clue what they are talking about.
Trying around, the best result I get is a long !DOCTYPE html code (after all w/o error code) using this url:

https://www.dropbox.com/oauth2/authorize?client_id=APP_ID&client_secret=APP_SECRET&redirect_uri=https://www.dropbox.com/home&response_type=token

As you may see: I really have no clue and appreciate your help. Thx

blocks(7)

Unfortunately, I do not know either. I do not use Dropbox,have a Dropbox account or use their API.

This is how I got a reasonable solution:

webviewer.url = https://www.dropbox.com/oauth2/authorize?client_id=DROPBOX.APP_ID&client_secret=DROPBOX.APP_SECRET&redirect_uri=https://www.dropbox.com/home&response_type=token

oauth_test.aia (4.9 KB)

Improvements or more elegant solutions are always welcome :wink:

This doesn't appear to fetch/make use of the refresh token ?

not yet, but I'm on the way :wink:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.