Home > Backend Development > PHP Tutorial > wecenter uses QQ Internet to log in and reports an error redirect uri is illegal100010

wecenter uses QQ Internet to log in and reports an error redirect uri is illegal100010

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-28 08:30:09
Original
1331 people have browsed it

Solution:
First change the callback address to: "http://your domain name/account/openid/qq/bind/"
Then you need to enable pseudo-static settings. After enabling pseudo-static, an error occurs on the page. You need to configure pseudo-static in nginx.
I am using nginx server, and the pseudo-static configuration file is posted below

<code>server {
        listen       <span>80</span>;
        server_name 域名 ;
        index index<span>.</span>html index<span>.</span>htm index<span>.</span>php;
        root  项目所在的目录;
        location <span>/</span> {
        try_files <span>$uri</span><span>$uri</span><span>/</span> /index<span>.</span>php<span>$is_args</span><span>$args</span>;
        }
         location ~ <span>\</span><span>.</span>php$ {
        include fastcgi<span>.</span>conf;
        <span>#fastcgi_param</span> SCRIPT_FILENAME <span>$document_root</span><span>/</span><span>$fastcgi_script_name</span>;
        fastcgi_pass   <span>127.0</span><span>.0</span><span>.1</span>:<span>9000</span>;
        fastcgi_index  index<span>.</span>php;
        <span>#fastcgi_pass</span> unix:/<span>var</span>/run/php5<span>-fpm</span><span>.</span>sock;
        <span>#try_files</span><span>$uri</span><span>=</span><span>404</span>;
    }
        location ~ <span>.</span><span>*\</span><span>.</span>(gif<span>|</span>jpg<span>|</span>jpeg<span>|</span>png<span>|</span>bmp<span>|</span>swf)$
        {
                expires <span>30</span>d;
        }
        location ~ <span>.</span><span>*\</span><span>.</span>(js<span>|</span>css)<span>?</span>$
        {
                expires <span>1</span>h;
        }
        include /alidata/server/nginx/conf/rewrite/default<span>.</span>conf;
        access_log  /alidata/<span>log</span>/nginx/access/default<span>.</span><span>log</span>;
}</code>
Copy after login
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces the error redirect uri is illegal100010 reported by wecenter when using QQ Internet login, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template