Skip to main content
CAS (Cloud Authentication Service) is the OAuth 2.1 authentication method for MCP Gateway in SCM (Strata Cloud Manager) deployments. When an MCP client connects to a gateway running in SCM mode, CAS handles user authentication through Palo Alto Networks’ identity infrastructure instead of the AI Gateway’s built-in OAuth.
For standard deployments, use AI Gateway OAuth or External OAuth instead.

Overview

CAS bridges the MCP Gateway’s OAuth flow with Palo Alto Networks’ centralized authentication. Instead of users logging in with standard credentials, they authenticate through their organization’s identity provider (Entra ID, Okta, or on-prem Active Directory) via CAS.

How It Works


Prerequisites

Before CAS authentication works for your MCP Gateway:
  1. CIE Directory Sync configured — Users must be provisioned into workspaces via CIE Directory Sync. CAS authenticates users, but CIE is what provisions them into the system. Without CIE sync, authenticated users cannot be resolved.
  2. Authentication Profile selected — An Auth Profile must be selected in the CIE Directory Sync configuration. This profile determines which identity provider is used for the CAS login flow. Auth Profiles are managed in the CIE Authentication Profiles console.
CAS relies on CIE for user provisioning. If CIE Directory Sync is not configured, or no group-workspace mappings exist, users will authenticate successfully with CAS but fail to resolve — resulting in an authorization error.See CIE Directory Sync for setup instructions.

Setup

CAS authentication is automatically enabled. No additional configuration is required on the MCP Gateway side — the gateway routes authentication through CAS.

What the Admin Needs to Configure

Email claim is required. CAS identifies users by their email address. The identity provider must include the user’s email in the authentication claims. If the email claim is missing, the user cannot be resolved and authentication will fail.Ensure that the User Identity Attribute selected in CIE Directory Sync (UPN or Mail) matches the email attribute returned by your identity provider during CAS authentication.

User Experience

First-Time Connection

When a user connects an MCP client to the gateway for the first time, the MCP client opens a browser window and the CAS login page is shown. Step 1 — Authenticate with your identity provider The user enters their organization credentials on the CAS Single Sign-on page. This page is hosted by Palo Alto Networks and connects to your configured identity provider.
The login page appearance may vary depending on your configured Authentication Profile and identity provider. The example below shows the default CAS login for a local directory. Organizations using external IdPs (e.g., Entra ID, Okta) will see their IdP’s login page instead.
CAS Single Sign-on — sample login page for a local directory configuration Step 2 — Approve access to the MCP server After authentication, the user is shown a consent page. It displays the MCP server being requested, the workspace it belongs to, and the redirect destination. The user can approve or reject the request.
If you are a member of multiple workspaces where the MCP server is provisioned, a workspace dropdown will appear on the consent page. Select the workspace you want the access token to be scoped to.
Authorization Request — consent page showing the MCP server name, workspace selection, redirect destination, and approve/reject buttons Once approved, the browser redirects back to the MCP client with an access token. The client can now make MCP requests.

Subsequent Connections

After the initial authentication, the MCP client uses refresh tokens to maintain access. Users are not prompted to log in again until the refresh token expires or is revoked. Approval is also remembered — subsequent connections to the same MCP server skip the consent page.

Comparison with Other Auth Methods


Troubleshooting



Portkey is now PRISMA AIRS AI Gateway. See it in action.

Contact Us
Last modified on September 9, 2026