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

请问有企业号PC授权登录的功能吗 #116

Open
TangMonk opened this issue May 20, 2016 · 9 comments
Open

请问有企业号PC授权登录的功能吗 #116

TangMonk opened this issue May 20, 2016 · 9 comments
Assignees
Milestone

Comments

@TangMonk
Copy link
Contributor

No description provided.

@Eric-Guo
Copy link
Owner

貌似没有,加,能贴个文档链接么?

@Eric-Guo Eric-Guo self-assigned this May 20, 2016
@TangMonk
Copy link
Contributor Author

TangMonk commented May 20, 2016

@TangMonk
Copy link
Contributor Author

有空我commit一个,现在遇到个问题

我手写了一个redirect

url = "https://qy.weixin.qq.com/cgi-bin/loginpage?corp_id=#{Wechat.config.corpid}&redirect_uri=#{request.original_url}&usertype=all"
    redirect_to url

但是总是提醒:

image

不知道你遇到过没啊?

@Eric-Guo
Copy link
Owner

你设置了安全域名么?安全域名还要备案。

@TangMonk
Copy link
Contributor Author

@Eric-Guo 设置了的,我把本地的host修改了方便测试,但是总是弹出这个页面。。。我再研究下

@TangMonk
Copy link
Contributor Author

TangMonk commented May 20, 2016

发现一个 Chrome 的插件,可以修改 referer

https://chrome.google.com/webstore/detail/referer-control/hnkcfpcejkafcihlgbojoidoihckciin?hl=en

用它弄好了

@Eric-Guo
Copy link
Owner

还准备PR么?还是希望我写一个?(我还没开始写。。)

@TangMonk
Copy link
Contributor Author

我也没开始写。。

@TangMonk
Copy link
Contributor Author

你写吧😄。。最近项目有点多,来不及。。

@Eric-Guo Eric-Guo added this to the v0.8.1 milestone Oct 24, 2016
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

2 participants