You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consolidate three redundant 'Production Replacement' sections into
a single canonical location in docs/oauth-architecture-patterns.md.
Both server READMEs now point to this guide.
4.**Update redirect URIs**: Configure your provider's allowed callbacks to match your deployment URLs
81
+
82
+
5.**Test the integration**: Verify the full OAuth flow with your provider
83
+
84
+
**Note on token introspection:** Most providers use the RFC 7662 standard format. If your provider uses a non-standard format, you may need to adjust the response parsing in `mcp-server/src/auth/external-verifier.ts`.
85
+
86
+
The MCP server code otherwise remains unchanged - it only needs to know where to validate tokens.
Copy file name to clipboardExpand all lines: mcp-server/README.md
+3-17Lines changed: 3 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,25 +115,11 @@ npm run typecheck # Type checking
115
115
npm run build # Build to dist/
116
116
```
117
117
118
-
## Production Adaptation
118
+
## Production Usage
119
119
120
-
To use a commercial OAuth provider:
120
+
To use a commercial OAuth provider instead of the demo auth server, see [OAuth Architecture Patterns](../docs/oauth-architecture-patterns.md#using-a-commercial-auth-provider) for detailed integration guidance.
121
121
122
-
1. Update `.env` with provider URL:
123
-
```bash
124
-
AUTH_SERVER_URL=https://your-tenant.auth0.com
125
-
```
126
-
127
-
2. Modify `src/auth/external-verifier.ts` for provider-specific introspection:
3. Adjust response parsing if the introspection format differs from RFC 7662 standard
135
-
136
-
The MCP server code otherwise remains unchanged.
122
+
**Summary:** Update `AUTH_SERVER_URL` in `.env` to point to your provider. You may need to adjust `src/auth/external-verifier.ts` for provider-specific introspection formats, but the MCP server code otherwise remains unchanged.
0 commit comments