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

Got 'Permission denied to generate login hint for target domain' #11

Open
myounus96 opened this issue Jul 1, 2020 · 22 comments
Open

Got 'Permission denied to generate login hint for target domain' #11

myounus96 opened this issue Jul 1, 2020 · 22 comments

Comments

@myounus96
Copy link

Whenever I click on 'Choose your old account' I got Permission denied to generate login hint for target domain, what might be the issue, I have enabled the youtube data api, I have replace key and ID with my own key and ID. Please help thanks.

@raj-khare
Copy link
Owner

Did you add your domain to authorized javascript origins?

@raj-khare
Copy link
Owner

Can you refer to #6 and lmk if that helps.

@myounus96
Copy link
Author

Did you add your domain to authorized javascript origins?

yes I added, and check for both simple localhost and with port.

@myounus96
Copy link
Author

Can you refer to #6 and lmk if that helps.

yep, Created this issue after following that.

@raj-khare
Copy link
Owner

Most probably it's an "Authorized JS origins" problem. Check if this helps: https://stackoverflow.com/questions/32041418/google-sign-in-website-error-permission-denied-to-generate-login-hint-for-targ/32211878

@myounus96
Copy link
Author

Most probably it's an "Authorized JS origins" problem. Check if this helps: https://stackoverflow.com/questions/32041418/google-sign-in-website-error-permission-denied-to-generate-login-hint-for-targ/32211878

That solves the issue, now one confusion from which account we should create API key and client ID, from old account or new account?Thanks

@myounus96
Copy link
Author

Most probably it's an "Authorized JS origins" problem. Check if this helps: https://stackoverflow.com/questions/32041418/google-sign-in-website-error-permission-denied-to-generate-login-hint-for-targ/32211878

That solves the issue, now one confusion from which account we should create API key and client ID, from old account or new account?Thanks

checked with both account, popup appear for login,logged in gave acces but everytime I got
image

@raj-khare
Copy link
Owner

I think it doesn't matter. Any account's API key would work.

@myounus96
Copy link
Author

I think it doesn't matter. Any account's API key would work.

right, can you guide about the error I got.

@raj-khare
Copy link
Owner

Is there any setting in your browser that disables popup?

@myounus96
Copy link
Author

Is there any setting in your browser that disables popup?

let me check.

@myounus96
Copy link
Author

Is there any setting in your browser that disables popup?

let me check.

Yes, I've to allowed pop ups, and it works.Thanks for this great utility.

@myounus96
Copy link
Author

BTW one question, just for check I've exported subscriptions.xml and from that I got I've around 1000 subscriptions, but this extension shows I just have 659 subscriptions, is this know issue...?

@raj-khare
Copy link
Owner

Maybe you have exhausted the quota as you have a huge list (Google provided a very less quota per day). It may take a few days to transfer the complete list.

@myounus96
Copy link
Author

also got many errors,
image

@myounus96
Copy link
Author

Maybe you have exhausted the quota as you have a huge list (Google provided a very less quota per day). It may take a few days to transfer the complete list.

yes we can only subscribe to 80+ channels per day...
but issue is,check the image, this shows that I only have ~660 subscriptions in old channel, but I knew they are around 1000.
image

@myounus96
Copy link
Author

also got many errors,
image

is this know error?

@raj-khare
Copy link
Owner

Can you click on the error and share a more detailed error report?

@raj-khare
Copy link
Owner

raj-khare commented Jul 4, 2020

As per docs, Quota impact: A call to this method has a quota cost of 1 unit in addition to the costs of the specified resource parts., so fetching subs has a cost
https://developers.google.com/youtube/v3/docs/subscriptions/list

@myounus96
Copy link
Author

Can you click on the error and share a more detailed error report?

image

@raj-khare
Copy link
Owner

That's weird. I'll look into it

@myounus96
Copy link
Author

That's weird. I'll look into it

Ok,Thanks

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