halo-sigs / plugin-oauth2

Halo 2.0 的 OAuth2 第三方登录插件。
https://halo.run/store/apps/app-ESVDK
GNU General Public License v3.0
22 stars 24 forks source link

无法绑定github #37

Closed wxyShine closed 1 year ago

wxyShine commented 1 year ago

halo 2.9 插件1.1.0

服务器可以ping通github

root@debian:~# ping github.com
PING github.com (20.205.243.166) 56(84) bytes of data.
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=1 ttl=251 time=109 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=2 ttl=251 time=106 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=3 ttl=251 time=109 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=4 ttl=251 time=106 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=5 ttl=251 time=107 ms
64 bytes from 20.205.243.166 (20.205.243.166): icmp_seq=6 ttl=251 time=108 ms
64 bytes from 20.205.243.166: icmp_seq=7 ttl=251 time=106 ms

绑定提示: 将您重定向的次数过多。 尝试清除 Cookie. ERR_TOO_MANY_REDIRECTS

已尝试取消网站强制https 回调地址换成http

gitee正常绑定使用

JohnNiang commented 1 year ago

/ping @guqing

guqing commented 1 year ago

https://github.com/halo-dev/halo/issues/3690#issuecomment-1499046034

检查配置是否如上述评论所说的将回调地址错填了认证地址 在github侧填写的回调地址应该为 博客域名/login/oauth2/code/github