Error: Origin_Mismatch

Hi, i’m doing appliacation for login with google and facebook. My facebook login is working and when i login with google it saying like this "Error:origin_mismatch. Where i did mistake.

     Error: origin_mismatch

Request Details

from_login=0


scope=https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/userinfo.email


redirect_uri=postmessage


state=1581663844|0.10627510959321802


origin=http://localhost


as=5feb5e54dc8eff2c


display=page


request_visible_actions=http://schemas.google.com/AddActivity


hl=en


response_type=code token id_token gsession


access_type=online


cookie_policy=single_host_origin


proxy=oauth2relay214218760


client_id=-----------------.apps.googleusercontent.com


authuser=0

I think that this isn’t Yii problem, but surely bound to Facebook embedding (javascript call).

Sorry, i’m not getting?

Maybe you have to fill origin field.

Now is filled with:

origin=http://localhost