Google Auth API Javascript idpiframe initialization error on Chrome

前端 未结 4 1860
庸人自扰
庸人自扰 2021-02-18 13:53

I use GSuite and I\'m coding a very simple web app to use Google Auth API, and I get an exception \"idpiframe_initialization_failed\".

Now I have the exact HTML as shown

4条回答
  •  太阳男子
    2021-02-18 14:44

    In my case, I just had to wait a bit for Google to take the origin into account. I cannot tell exactly how long it took. I waited ~30min. I then went to sleep and it was working the following morning.

    Edit: Ooops I just realized I was using http:// and not https://. That was the actual problem.

提交回复
热议问题