Skip to content

Commit 9b400b2

Browse files
committed
readme
1 parent 96acbc1 commit 9b400b2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

examples/servers/simple-auth/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,17 @@ cd examples/servers/simple-auth
4747

4848
# Start Resource Server on port 8001, connected to Authorization Server
4949
python -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

0 commit comments

Comments
 (0)