Skip to content

Commit 0d4734f

Browse files
committed
known limitation
1 parent 1781460 commit 0d4734f

File tree

1 file changed

+4
-1
lines changed
  • src/content/docs/cloudflare-one/applications/configure-apps/mcp-servers

1 file changed

+4
-1
lines changed

src/content/docs/cloudflare-one/applications/configure-apps/mcp-servers/linked-apps.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,16 @@ This policy will allow requests if they present a valid OAuth access token that
111111

112112
## 4. Update the self-hosted application
113113

114+
You can add the `linked_app_token` policy to any `self_hosted` application in your Zero Trust account. Other app types (such as `saas`) are [not currently supported](#known-limitations).
115+
114116
1. Get your existing self-hosted application configuration:
115117

116118
<APIRequest
117119
path="/accounts/{account_id}/access/apps/{app_id}"
118120
method="GET"
119121
/>
120122

121-
2. Add the new Access policy to the self-hosted application. To avoid overwriting your existing configuration, the `PUT` request body should contain all fields returned by the previous `GET` request.
123+
2. Add the Access policy to the self-hosted application. To avoid overwriting your existing configuration, the `PUT` request body should contain all fields returned by the previous `GET` request.
122124

123125
<APIRequest
124126
path="/accounts/{account_id}/access/apps/{app_id}"
@@ -147,3 +149,4 @@ The end-to-end authorization flow is as follows:
147149

148150
## Known limitations
149151

152+
The MCP OAuth feature only works with self-hosted applications that rely on the [Cloudflare Access JWT](/cloudflare-one/identity/authorization-cookie/validating-json/) to authenticate and identify the user. If the application implements its own layer of authentication after Cloudflare Access, then this feature is at best a partial solution. Requests that are successfully authenticated by Access may still be blocked by the application itself, resulting in a 401 or 403 error.

0 commit comments

Comments
 (0)