def METHOD_NAME(self, user_info, create=True):
    if user_info:
        if 'Profile' in user_info and user_info['Profile']:
            #group_list = user_info.get('GroupRoleList', None)
            user_info = user_info['Profile']
        username = user_info.get(settings.OAUTH2_USER_ATTR_MAPPING.get('username', ''), None)
        username = self.clean_username(username)
        if username:
            [user] = UserModel.objects.filter(username=username)[:1] or [None]
            if user and not user.is_active:
                user.is_active = True
                user.save()
            if not user and create:
                user = UserModel(username=username)
                user.set_unusable_password()
                user.save()
                profile = Profile.objects.create_profile(user=user)
            elif user:
                profile = getattr(user, 'profile', None)
                if not profile:
                    profile = Profile.objects.create_profile(user=user)
            if user:
                self.sync_user(user, user_info)
                self.sync_user(profile, user_info, ObjModel=Profile)
            return user if self.user_can_authenticate(user) else None
    return None