Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"immediate_failed" - Could not automatially log in the user

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/signin/

the result was always ""immediate_failed" - Could not automatially log in the user", I just don't kown why, can anyone help me, thanks very much! :-(

like image 701
user2254662 Avatar asked Apr 07 '13 14:04

user2254662


2 Answers

In my case, the error was because of explicitly specifying the authorization parameter prompt to 'none',similar to a previous answer.

It worked for me by specifying prompt=None or as per the official docs,you may skip this parameter.

like image 96
Krishna Choudhary Avatar answered Oct 06 '22 03:10

Krishna Choudhary


The question is old but I faced this issue recently.

In my case, it was because I specified the URI parameter prompt to none. I guess Google doesn't like that if the user has never been logged to your platform before.

Whenever I changed that to consent or totally removed it, it worked great.

like image 36
ZazOufUmI Avatar answered Oct 06 '22 03:10

ZazOufUmI