def METHOD_NAME(self, data):
    data = data["data"]
    return {
        "type": "gitlab",
        "id": data["user"]["id"],
        "email": data["user"]["email"],
        "scopes": sorted(data["scope"].split(",")),
        "data": self.get_oauth_data(data),
    }