def _create_client(self):
        """
        Create an OAuth2 client application
        """
        return Application.objects.create(
            client_id=self.client_id,
            client_type=Application.CLIENT_PUBLIC,
        )