Wedmer / cargodock

A file manager for Sailfish devices
GNU General Public License v2.0
2 stars 2 forks source link

dropbox? #23

Open Dracks opened 3 years ago

Dracks commented 3 years ago

I was having problems to log in in dropbox in my new sailfish os.

And I tried copying the url of autentication, and loggin in with the laptop, and after paste that in the browser of my sailfish, and for the system configuration worked fine,

Maybe you can do something like that. (at list for a first step, to avoid more issues)

Wedmer commented 3 years ago

Look at pycage/cargodock#28

Wedmer commented 3 years ago

@Dracks Copy/paste is too insecure. I'll try to implement recommended authorization for applications without functional embedded webview.

Dracks commented 3 years ago

I did copy paste in more than one cli application. Maybe had a simple mode in cli to autenticate it using copy paste?

Currently I don't have time, otherwise, I will be glad to try to help to integrate sailfish sso.

Wedmer commented 3 years ago

Ok. I can replace webview with provided link to copy and a field for final redirection link.

Wedmer commented 3 years ago

On other hand I've started implementing new Oauth2 system using PKCE flow.

Starting September 30th, 2021, the Dropbox OAuth flow will no longer return long-lived access tokens. It will instead return short-lived access tokens, and optionally return refresh tokens. Please be sure to review, test, and move to the new permission model before then.

Dracks commented 3 years ago

ok,

Thanks,