def METHOD_NAME(self, user, provider):
    external_id = uuid4()
    UserSocialAuth.objects.create(
        user=user,
        uid=f'{provider.slug}:{external_id}',
        provider=provider.slug,
    )