0

I added authorization through social networks to my site. How can I find out that the user used exactly this authorization? In the process of authorizing a user through a social network, I need to change the verified value in the database table, as well as add his photo to this table.

Note: I didn't rewrite the default user model, but extended it by creating a ForeignKey in the Profile table. This table stores information about the user (phone number, gender, etc.) Note2: I'm using social-auth-app-django

It seems to me that I should implement a separate View for authorization on social networks in order to catch all the data I need. But what should it look like? I am new to this matter.

Egor
  • 1

0 Answers0