admin管理员组文章数量:1289900
I am trying to integrate google calendar with a wordpress plugin. As per the google api documentation I am authorizing using google oauth2. When it returns the code and scope in the url the scope part of the url is causing a 404 on wordpress. If I edit the scope parameter value to something else say "123" it works fine.
This is the scope part of the url returned &scope=
To reproduce use a wordpress website.
Non working Example: /?scope=
Working Example: /?scope=123
I have tried to reset permalinks. I cannot retrieve any values from the GET parameters. I tried to remove the query_vars. I tried to add a rewrite rule. I tried to hook into different wordpress actions (init, admin_init, etc.). I have turned debug on with no errors. I have a query monitor on with no errors.
It is almost as if the 404 is firing before I can do anything with it.
Tutorial I was following:
Any ideas?
本文标签: apiWordpress Google Calendar Oath 404
版权声明:本文标题:api - Wordpress Google Calendar Oath 404 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741412289a2377306.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论