Google+ API. Sharing interactive posts error. Clai

2019-05-26 08:14发布

I do everything as stated on this page developers.google.com however, the window appears for a split second, and then an error in the console "Claimed origin not in whitelist: (mySiteLink)"

标签: google-plus
2条回答
Melony?
2楼-- · 2019-05-26 08:40

I remove the '/' at the end of "Javascript Origins" url and solve. Example: Original that error URL: http://www.example.com/

Changed to URL: http://www.example.com

Problem solved.

查看更多
萌系小妹纸
3楼-- · 2019-05-26 08:41

Your web origin in the Google API Console should only include http:// or https:// and then the host name. Make sure you don't have / in the end. The web origin is under the OAuth 2.0 Client ID section in the Console.

查看更多
登录 后发表回答