Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: separate Google credentials from add external storage page #52

Open
sgofferj opened this issue Aug 19, 2019 · 2 comments

Comments

@sgofferj
Copy link

Currently, the app works so that the Google credentials are entered when a new external storage is being added. That is somewhat unpractical as every user who wants to add their own Google Drive has to create a Google Cloud project, an OAuth client, etc.
It would be more practical and also more in the sense of the Google Cloud processes if only the NC admin had to create a Google Cloud project, OAuth client, etc. and those credentials would be entered in an administration page of the app. When adding an external storage, the person whoi adds that would be redirected directly to the Google login page.

@jaron-l
Copy link

jaron-l commented Apr 26, 2020

The reason you have to create a Google Cloud project and OAuth client is because that is the current method of authorization. I don't think there is a way to get around that if that is the authorization method as you need the authorization for each account. I didn't research a ton but just googling around seems to suggest that this is the only current secure way of accessing Google Drive in an api sort of way. This is a Google Drive limitation and not Nextcloud or this app.

@sgofferj
Copy link
Author

You misunderstood. What I meant is that currently every user needs to create their own Google project. What I'm suggesting is that only the site owner creates a project which is used for auth by every user. That's the way Google auth is supposed to work anyways

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants