silexlabs / unifile

Unified access to cloud storage services through a simple web API.
https://silexlabs.github.io/unifile/
MIT License
144 stars 32 forks source link

Skip auth for FS #141

Closed lexoyo closed 6 years ago

lexoyo commented 6 years ago

Hi

A question here about something very specific

In CE2, this is what happens today to enter the "fs" service:

Do you want me to add a "skipAuth" attribute to the services info so that we know from the start that it is not needed?

lexoyo commented 6 years ago

Oh even better: the services should add a "isLoggedIn" to their info so that when the user is already logged in, the cloud service (github or dropbox) is not even called, no oauth. And it would be always true for fs

lexoyo commented 6 years ago

In fact, this is what I would expect in the response to '/services' https://github.com/silexlabs/unifile/blob/master/lib/unifile-github.js#L138

lexoyo commented 6 years ago

Ok, so let's recap, help wanted @JbIPS

JbIPS commented 6 years ago

Is there still an issue with Unifile?

lexoyo commented 6 years ago

probably not unless you think isLoggedIn should be part of the result of getInfo?

JbIPS commented 6 years ago

It is http://projects.silexlabs.org/unifile/global.html#ConnectorInfos

lexoyo commented 6 years ago

fixed by https://github.com/silexlabs/CloudExplorer2/pull/68