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

Help with OAuth 2.0 #317

Open
estebanhirzfeld opened this issue Jan 19, 2021 · 6 comments
Open

Help with OAuth 2.0 #317

estebanhirzfeld opened this issue Jan 19, 2021 · 6 comments

Comments

@estebanhirzfeld
Copy link

estebanhirzfeld commented Jan 19, 2021

I'm so confused with the steps

you now must create and use your own OAuth 2.0 file, it's a free service. Steps:

Go to the Google console.
Create project.
Side menu: APIs & auth -> APIs
Top menu: Enabled API(s): Enable all Youtube APIs.
Side menu: APIs & auth -> Credentials.
Create a Client ID: Add credentials -> OAuth 2.0 Client ID -> Other -> Name: youtube-upload -> Create -> OK
Download JSON: Under the section "OAuth 2.0 client IDs". Save the file to your local system.
Use this JSON as your credentials file: --client-secrets=CLIENT_SECRETS or copy it to ~/client_secrets.json.

I Enabled all the Youtube APIs

image

Then Credentials:

image

what should i choose?

image

cause when i choose OAuth Client ID i cant follow the same steps, what im doing wrong?

@lavAzza2
Copy link

lavAzza2 commented Jan 20, 2021

You need to select OAuth client ID -> "Desktop app" or "Web app" instead "Other".
Probably the interface has changed there.

@mrahmadt
Copy link

go with "Desktop App".

Web App will not wok

@cxt532
Copy link

cxt532 commented Nov 9, 2021

go with "Desktop App".

Web App will not wok

I chose 'Desktop App' to generate the client secret json, I ran the normal upload code, the system responded with a link I need to open in my browser to get a verification code

But after I opened the link, it showed the following error

access_denied
The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. If you think you should have access, contact the developer (My Email Address in this bracket)

@berot3
Copy link

berot3 commented Dec 15, 2021

access_denied

make sure you go public. at first you are in a test-mode.

@moneyforsomething
Copy link

@estebanhirzfeld @cxt532 - Did you manage to solve this issue?

@AkitaAttribute
Copy link

Alternatively, you can specify the email you wish to generate the json with under the oauth consent screen as a test user.

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

7 participants