我正在使用django social-auth (http://django-social-auth.readthedocs.org/en/latest/index.html) ,并尝试创建一个用户配置文件,允许用户关联多个帐户(就像在Stackoverflow上一样)。
当前,单个用户可以使用不同的身份验证提供程序进行登录,但是针对每个登录会创建一个新用户。如何将所有用户帐户关联到单个用户(例如用户配置文件)?
此外,在使用django social-auth时,创建用户配置文件页面的最佳实践是什么?
django-social-auth
就已经被废弃了,python-social-auth
取代了它。管道文档在https://python-social-auth.readthedocs.io/en/latest/pipeline.html。 - omab