django - build a view or a pipeline to return access token & provider name for user logged in using social login
$10-30 USD
Completed
Posted almost 6 years ago
$10-30 USD
Paid on delivery
i need a view or a pipeline to return access_token & provider name given by the social API in a json format., must work with facebook, google-oauth2, linkedin
must use django-rest-framework-social-oauth2
{
access_token : "********"
provider : "google-oauth2"
}
example:
1. user login using google in localhost:8000/auth/login/google-oauth2/
2. google API returns with user details with and access token
3. user & details gets registered to DB in auth_user, social_auth_usersocialauth
after that:
i want a custom pipeline or view which returns access_token & provider, which i can use later to convert to a oAuth2 token here (localhost:8000/auth/convert-token)
make sure the return token can be converted
Hello there,
I am a 3 years experience web developer.
Though i am a new bee in freelancer but from last 2 years i am working on other marketplace like [login to view URL]
You can also check out my other work on my portfolio website [login to view URL] where most of my work are done in django.
specially this task [login to view URL] where i have implemented social-auth 3rd party app in django.
Regards