File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
examples/servers/simple-auth Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,17 @@ cd examples/servers/simple-auth
4747
4848# Start Resource Server on port 8001, connected to Authorization Server
4949python -m mcp_simple_auth.server --port=8001 --auth-server=http://localhost:9000 --transport=streamable-http
50+
51+ # With RFC 8707 strict resource validation (recommended for production)
52+ python -m mcp_simple_auth.server --port=8001 --auth-server=http://localhost:9000 --transport=streamable-http --oauth-strict
5053```
5154
55+ ** OAuth Strict Mode (` --oauth-strict ` ):**
56+ - Enables RFC 8707 resource indicator validation
57+ - Ensures tokens are only accepted if they were issued for this specific resource server
58+ - Prevents token misuse across different services
59+ - Recommended for production environments where security is critical
60+
5261
5362### Step 3: Test with Client
5463
You can’t perform that action at this time.
0 commit comments