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