I am trying the "Five minute quick start" ( https://developers.google.com/drive/ ) and have followed all instructions up to step 4 "Run the sample". (I have changed the client ID and secret in the sample php code - I've followed the instrictions in text and watched the video to be sure I didn't miss anything). When I run the script from command line, I am indeed provided with a link to follow - such as this:
But when I point my browser there (logged into Google console) I consistently get an error:
Error: invalid_client ... and the details are:
I've tried deleting the client ID and re-creating, but I keep running into the same error. Any suggestions on what could be going wrong? Thanks.