Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

强制https之后 GitHub API 报错 #166

Open
MuZhou233 opened this issue Aug 13, 2018 · 10 comments
Open

强制https之后 GitHub API 报错 #166

MuZhou233 opened this issue Aug 13, 2018 · 10 comments

Comments

@MuZhou233
Copy link

error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fapps%2Fmanaging-oauth-apps%2Ftroubleshooting-authorization-request-errors%2F%23redirect-uri-mismatch

@longshilin
Copy link

你可能需要在你web项目的setting中打开https开关,如下面最后那样(ps:我强制打开是ok的)
image

@heropoo
Copy link

heropoo commented Sep 18, 2018

我的也报错,现在处理好了吗?

@MuZhou233
Copy link
Author

还没有,希望有人可以解决

@longshilin
Copy link

能具体描述下 你们遇到的问题么,也许我可以提供帮助:)

@MuZhou233
Copy link
Author

我使用的时候
在请求授权时还可以正常登录,但跳转回自己的页面时跳转地址后面就会出现问题描述中的内容,并且网页上仍然显示未登录

@changchangjie
Copy link

+1

@longshilin
Copy link

so 你们这个地方的地址是否填写正确了,这里需要改为https头 @mu-zhou @changchangjie @heropoo

查看地址为:https://github.com/settings/developers
image

@changchangjie
Copy link

配成https不出现那个问题了,但是点击登录会有下面的提示弹框,然后一直处于加载页面
image
image

@longshilin
Copy link

按照网上的教程一步一步配好,每个属性值都要填对,你再检查检查 @changchangjie

REF:
https://imsun.net/posts/gitment-introduction/
http://xintq.net/2017/05/02/use-gitment-for-comment/

@longshilin
Copy link

可以参考这个:#170 @changchangjie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@heropoo @longshilin @changchangjie @MuZhou233 and others