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

支持阿里云授权登录 #81

Merged
merged 1 commit into from
Jun 7, 2020
Merged

Conversation

snippet0809
Copy link
Contributor

阿里云账号分为主账号和RAM用户,故阿里云登录获取到的用户信息和其它第三方登录获取到的用户信息差异略大,所以我在AuthUser.java新增了一个rawUserInfo(JSONObject类型)字段,存放原始的用户信息
(因为改动了AuthUser.java,可能不符合原作者预期,如果耽误了大佬不必要的审核时间,深感抱歉)

@zhangyd-c
Copy link
Member

其实我也一直有这个想法, 毕竟目前 AuthUser 的属性相较于第三方返回的用户信息差距过大,而 AuthUser 不可能将所有平台的字段全部解析出来,所以使用 rawUserInfo 也不失为一种解决方案。

@zhangyd-c
Copy link
Member

非常感谢!

@zhangyd-c zhangyd-c merged commit 5ab2e87 into justauth:dev Jun 7, 2020
@zhangyd-c
Copy link
Member

https://github.com/justauth/JustAuth/releases/tag/1.15.5
新版已发布!感谢贡献代码!

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.

2 participants