Skip to content

mhdstk/tfora_social_auth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tfora_social_auth

Easy django rest auth integration for social applications. (currently supports Google and Facebook)

Installation

pip install tfora-social-auth

INSTALLED_APPS = [

'tfora_social_auth'

]

python manage.py migrate

in urls

from tfora_social_auth.views import ( GoogleSocialAuthView, FacebookSocialAuthView )

path('social/google/', GoogleSocialAuthView.as_view()),

path('social/facebook/', FacebookSocialAuthView.as_view()),

For Google login

POST with "auth_token".
Send an "idtoken" as from google to get user information

For Facebook login

POST with "auth_token".
Send an access token as from facebook to get user information

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%