django-rest-social-auth!
前置き
認証勉強したい。 python使いたい。 jwt使いたい。
django-rest-social-authを使ってみる(読んでみる)ことにした。
example_projectを動かすとき、いろいろエラー出るので、 動かしたときのパッケージうんぬんを載せておく。
asgiref==3.2.10 certifi==2020.6.20 cffi==1.14.2 chardet==3.0.4 cryptography==3.0 defusedxml==0.6.0 Django==3.1 django-rest-knox==4.1.0 django-sslserver==0.22 djangorestframework==3.11.1 djangorestframework-simplejwt==4.4.0 idna==2.10 oauthlib==3.1.0 pycparser==2.20 PyJWT==1.7.1 python3-openid==3.2.0 pytz==2020.1 requests==2.24.0 requests-oauthlib==1.3.0 rest-social-auth==4.2.0 six==1.15.0 social-auth-app-django==3.4.0 social-auth-core==3.3.3 sqlparse==0.3.1 urllib3==1.25.10
これを requirements.txt に保存してpip install -r requirements.txt
をすれば、
動かせる