I have a problem when I developed my website with Google+ sign-in: I did step by step that the doc told me but I always failed at step4: https://developers.google.com/+/web/
In my case, the error was because of explicitly specifying the authorization parameter prompt to 'none',similar to a previous answer.
prompt
'none'
It worked for me by specifying prompt=None or as per the official docs,you may skip this parameter.
prompt=None