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

Social Oauth需要的潜在后端代码 #63

Merged
6 commits merged into from
Apr 29, 2018
Merged

Conversation

tinyx
Copy link
Member

@tinyx tinyx commented Apr 27, 2018

这部分代码量少且功能独立于现有产品之外,没有任何对现有API逻辑的更改,只是新增了一批将来可能会用到的rest-auth相关的终端,可以考虑合并到仓库以便有可能的前端用户模块逻辑更改和调试。

@tinyx tinyx requested review from a user and rinka0414 April 27, 2018 17:10
@coveralls
Copy link

coveralls commented Apr 27, 2018

Pull Request Test Coverage Report for Build 75

  • 19 of 19 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.08%) to 91.369%

Totals Coverage Status
Change from base Build 74: 0.08%
Covered Lines: 1715
Relevant Lines: 1877

💛 - Coveralls

@@ -180,6 +180,10 @@
REST_AUTH_SERIALIZERS = {
'USER_DETAILS_SERIALIZER': 'users.serializers.UserDetailsSerializer',
}
SOCIAL_LOGIN_GOOGLE_CALLBACK_URL = os.environ.get(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里是google还是github?另外我记得要使用第三方登录是要将对应的provider加入app的?

Copy link
Member Author

@tinyx tinyx Apr 29, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

嗯是github,复制粘贴的错误,已经修正。provider已经加了的,你忘了我们现在已经可以用github登陆了么~这个只是配置REST的流程

@ghost ghost merged commit b477f6f into dev Apr 29, 2018
@ghost ghost deleted the enhancement/rest-auth-social branch April 29, 2018 02:24
This pull request was closed.
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

Successfully merging this pull request may close these issues.

None yet

3 participants