I am using the IDToken.PHP example in the Google API client library but everytime it says
The redirect URI, https://example.com/youtube/idtoken.php in the request does not match the ones authorized for the OAuth client.
I have put both the https and https version of the URL in https://console.developers.google.com/apis/credentials?project=xxx but it still does not work.
please help!