第四百零四节,python网站第三方登录,social-auth-app-django模块
第四百零四节,python网站第三方登录,social-auth-app-django模块, social-auth-app-django模块是专门用于Django的第三方登录 OAuth2协议 模块 目前流行的第三方登录都采用了 OAuth2协议 安装 pip install -i https://pypi.douban.com/simple social-auth-app-django 依赖关系 PyJWT-1.5.3 certifi-2017.7.27.1 chardet-3.0.4 defusedxml-0.5.0 idna-2.6 oauthlib-2.0.4 python3-openid-3.1.0 requests-2.18.4 requests-oauthlib-0.8.0 six-1.11.0 social-auth-app-django-1.2.0 social-auth-core-1.4.0 urllib3-1.22 使用文档 http://coding.imooc.com/lesson/131.html#mid=7393 使用配置 1.将social_django添加到app配置,settings.py INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django