wagnerdelima / drf-social-oauth2

drf-social-oauth2 makes it easy to integrate Django social authentication with major OAuth2 providers, i.e., Facebook, Twitter, Google, etc.
https://drf-social-oauth2.readthedocs.io/en/latest/
MIT License
270 stars 34 forks source link

Getting Extra information with social login #123

Closed krishnanpandya007 closed 2 years ago

krishnanpandya007 commented 2 years ago

Actually i have a custom frontend seperately hosted and for backend i am using this service to authenticate user by social logins like google, facebook etc...

so when i authenticate user from frontend and i got access_token i make a fetch request to backend providing access_token, client_id, client_secret etc... to url ( ${BACKEND_URL}/auth/convert-token/ )

i got information about the user like email, first, last names but what if i want some additional information like seperately collected username, custom profile_picture collected by frontend or favourite color etc...

Any idea about this workflow or how to get this approach??

wagnerdelima commented 2 years ago

I believed you managed to resolve this.