Closed reinardhz closed 4 years ago
We need to choose Desktop app
as the Application Type during creating an OAuth Client ID.
https://github.com/jay0lee/got-your-back/issues/277#issuecomment-645040380
We hit this issue yesterday as well.
GYB asks you to choose "Other" as the OAuth Client Type - but there is no such option:
If you pick "Web application", which seems a reasonable guess, it will fail - later on it will say "Error 400: redirect_uri_mismatch":
Hence, I think the code should be updated to change from "Other" to "Desktop app".
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This was also reported in #272 and fixed in #273
Full steps to reproduce the issue:
gyb-1.37-macos-x86_64-MacOS10.13.6.tar.xz
To make GYB run you will need to populate the client_secrets.json file. Try running:
./gyb --action create-project --email somebody@gmail.com
[Errno 2] No such file or directory: '/Users/user/Downloads/gyb/client_secrets.json'Administrators-MacBook-Pro-6:gyb user$
Administrators-MacBook-Pro-6:gyb user$ ./gyb --action create-project --email somebody@gmail.com
Go to the following link in your browser:
Enter verification code:
Enter verification code: 4/0gEiu-XzqeO1wAF5qxxxxxxxxxCPIPcxKk9YYa2SPuclPQVEQRvoq8 Creating project "Got Your Back Project"... Checking project status... enabling API drive.googleapis.com... enabling API gmail.googleapis.com... enabling API groupsmigration.googleapis.com... enabling API vault.googleapis.com... Creating Service Account Please go to:
https://console.developers.google.com/apis/credentials/consent/edit?createClient&newAppInternalUser=true&project=gyb-project-xxx-xxx-xxx
Enter your Client ID: