Alright so I've tried to run the youtube samples from the google developer docs (specifically authorizing_requests)
- I downloaded this repo (youtube/api-samples)
I created a new project in the google developer console
- enabled all 3 YouTube APIs from here:
- created API and OAuth key/clientID like so:
- left the "Accept requests from" field empty so it will accept them from all domains: a. even when I did provide one it didn't fix it btw
- in the sample code we are instructed to replace this variable with our clientID like so:
- It doesn't matter whether I run it from localhost, or from a proper host this is what I continuously get this on load from any of the sample files like:
search.html
,my_uploads.html
or any of the other files.
Refused to display 'https://accounts.google.com/o/oauth2/auth?client_id=217603943332-cuo3i85935…angroup.com&response_type=token&state=1069982666%7C0.2949761402&authuser=0' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'
What am I doing wrong?