Need more info on Google OAuth setup
Which version of integration_google are you using?
2.0.2
Which version of Nextcloud are you using?
26.0.2
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
not relevant
Describe the Bug
Google now requires you to setup an oAuth consent screen to create a Credentials Client-ID and the app has to be verified by Google before users can use it.
There should be instructions explaining what kind of setup you should do to make this work.
Expected Behavior
Instructions for this part of the setup as well.
To Reproduce
Log in to Google API settings, go to "APIs & Services" => "Credentials" and click on "+ CREATE CREDENTIALS" -> "OAuth client ID".
You'd be instructed to create an OAuth Consent Screen and deceide whether it is an internal or external app before you can create a new OAuth client ID.
For me, I could not decide between internal or external app. I had to go to Library and activate the following APIs manually for the created OAuth ID:
- Google Calendar API
- Google Drive API
- Photos Library API
- People API
Set the "user type" to "external". from https://github.com/nextcloud/integration_google/issues/48#issuecomment-775293092
#48 seems like having some more instruction.
Question to @marcelklehr Do we have to establish internet connection to nextcloud in order to use this app? Google doesn't let me put in local ip address and wants me to have a .org or .com url. If internet connection is necessary, I think it could be nice to put into the "Setup" section or have another "Prerequisite" section.
Thanks.
I've just installed the extension, and these guides have been very helpful with getting connected to Google. I have to wonder if there can't be a better way to do this, perhaps if this was registered as an official app at Google, allowing us to just use typical OAuth sign in?
I try to follow the instructions, but to enable the "webapp" google wants to review my nextcloud as a new app and said it will take 4 to 6 weeks, is this suppose to happen?
UPDATE: The solution was to keep the api in dev mode and then just add the url in an authorized domain by uploading a file and let google verify that i have the ownership of the domain.... now it works
Hello :wave: This issue appears to have had no activity for 3 months. We cannot keep track of whether individual issues have resolved themselves or still require attention without user interaction. We're thus adding the stale label to this issue to schedule it for getting closed in 5 days time. If you believe this issue is still valid and should be fixed, you can add a comment or remove the label to avoid it getting closed.
Cheers :blue_heart:
This video should detail all steps. https://www.youtube.com/watch?v=h_teJPg2wEk