简体   繁体   English

django-social-auth获取声明的ID

[英]django-social-auth obtain claimed id

I'm trying to make an OpenId log in using django-social-auth and I'm trying to get it work with Steam . 我正在尝试使用django-social-auth进行OpenId登录,并且正在尝试使其与Steam一起使用 Thing is, Steam's System is just give you a 64bits hash using the claimed_id and then use that to obtain the information using another API. 事实是,Steam的系统只是使用claimed_id给您一个64位的哈希,然后使用它通过另一个API获得信息。 My question is: How I get the claimed_id using the django-social-auth? 我的问题是:我如何使用django-social-auth获得claimed_id?

最后,声明的ID作为uid保存在social_auth记录中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM