Skip to main content

Identity Concepts

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

This page explains the identity concepts behind the Securing MCP tryout you set up in Try It Out. For the underlying user types, roles, the booking resource server, and the Wayfinder Concierge agent, see the Identity Model under Securing AI Agents. This page covers only the MCP-specific additions.

Application​

An application is the OAuth2 client that Choreo Identity & Access Management issues tokens to. This tryout adds EXTERNAL-MCP-CLIENT, a public, PKCE-enforced OAuth client that represents any external MCP client connecting to the Wayfinder MCP server.

The application registers redirect URIs for MCP Inspector:

  • http://localhost:6274/oauth/callback/debug, MCP Inspector's debug callback.
  • http://localhost:6274/oauth/callback, MCP Inspector's standard callback.

EXTERNAL-MCP-CLIENT is wired to the same authentication flow as the Wayfinder Concierge, so the OAuth consent screen surfaces each requested booking:* permission as an individual toggle at sign-in time.

See Manage Applications, or Configure an MCP Client Manually for the MCP-specific version of this task.

john.doe already holds the Booking User role with read, create, and cancel permissions. The tryout doesn't add a narrower role; instead, the narrowing happens at the consent screen the first time john.doe signs in through Inspector. He picks which booking:* permissions to release to the external client.

The token Inspector receives carries only the permissions he ticked. The MCP server enforces those per-tool, so the walkthrough can demonstrate scope enforcement by leaving booking:cancel unchecked the first time and including it on a later retry without touching the user's roles.

See Authorization.

Resource Server​

This tryout reuses the Wayfinder resource server defined under Resources and Permissions. The same booking:* permissions protect both /api/* (REST) and /mcp (MCP tools). The Wayfinder Server enforces them per-route on the REST side and per-tool on the MCP side, against the same service layer.

Each MCP tool checks for the same scope its REST counterpart checks for:

MCP toolREST endpointRequired scope
search_flightsGET /api/flights(token only)
recommend_bookingsGET /api/bookings/recommendedbooking:recommend
get_flight_bookingsGET /api/bookings/flightsbooking:read
create_bookingPOST /api/bookingsbooking:create
delete_all_bookingsDELETE /api/bookings/flightsbooking:cancel

See Resource Servers, or Secure Your MCP Server for the MCP-specific version of this task.

Discovery Endpoint​

The Wayfinder MCP server publishes a protected-resource metadata document at GET /.well-known/oauth-protected-resource. It points at Choreo Identity & Access Management as the authorization server and lists the supported scopes. MCP Inspector and any compatible MCP client read this document to start the OAuth flow without manual configuration.

Was this page helpful?