亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

php - Within the WeChat official account, redirect_uri parameter errors appear in many places
歐陽克
歐陽克 2017-06-20 10:07:23
0
5
1158

Got drunk immediately.
After writing WeChat before, I went to get Alipay.
Today a colleague came over and said there was a problem with authorization.
Clicking will report "redirect_uri parameter error".
After looking at it, there is no problem with the web page authorized domain name setting (previously set), and there is no problem with the veifify file.
Later, I poked at other places in the official account. For example, the submenu of a common jump connection also showed "redirect_uri parameter error", and even a pushed article also showed "redirect_uri parameter error". . .
Depressed, has anyone encountered this?
Attached note:
1. The authorized domain name of the web page was set before, without the http header.
2. The payment function is not enabled.
3. For example, if the wx project is under a.com and jumps to the company website b.com, even if the b.com link cannot be entered, it will prompt this, but the strange thing is that there is a background link. When b.com/admin, only this secondary directory can be entered.

歐陽克
歐陽克

溫故而知新,可以為師矣。 博客:www.ouyangke.com

reply all(5)
滿天的星座
  1. Check the web page authorized domain name set by WeChat public platform

  2. Check what redirect_uri is when logging in

  3. Compare 1 and 2 and post the results of 1 and 2

僅有的幸福

Is it because the code parameter is reused?

伊謝爾倫

Whether the 40163 code reported has been reused. If yes, suggestions: For example: Direct the redirect_uri to the PHP function to get the code. Get the user openid directly and then render the page. If the code is passed in the URL, an error will be reported

學(xué)霸

Did you put the verification file under something like:
xx.com/path? If so, please put it in the root directory of the website and try again. I also encountered this problem before, I put it in the public folder Under verify, the redirect request will go to public, so the path I entered is xxx.com/verify, but the result jumps to xxx.com/path and prompts a parameter error. Entering the domain name will not work. You can try it.

僅有的幸福

Make sure the redirect_uri is really accessible

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template