Server: Global OAuth Configuration

Created on 16 Jun 2016  路  3Comments  路  Source: nextcloud/server

Expected behaviour

When configuring OAuth for Google Drive and Dropbox the Client ID and Secret Key should be set once in the /config/config.php file. This is so all users use a single API and the secret key doesn't need to be shared with users or the need to create their own.

Actual behaviour

Each user who wants to mount one of these locations need to provide a client ID and secret key.

enhancement external storage

Most helpful comment

It think it should also be in the SE, many users won't know what/how to obtain this. The admin should and will then be able to manage it for the whole installation. Would make life simpler for sysadmin's.

All 3 comments

This is what the global auth configuration in ownCloud EE did for some external storage providers.

@blizzz Maybe we could build this in a way, that every external storage benefits from it ;)

It think it should also be in the SE, many users won't know what/how to obtain this. The admin should and will then be able to manage it for the whole installation. Would make life simpler for sysadmin's.

This would mean that you run faster in the rate limiting of the services. Additionally it doesn't look like this is possible anyways in the future, because they look down more and more - ref #5815

As of now there is no plan to do this in config.php. If at all this should happen in a dedicated app only responsible for the specific storage.

I will close this here for now.

Was this page helpful?
0 / 5 - 0 ratings