doc(oauth): Update examples in OAUTH_SUPPORT.md (#323)

This commit is contained in:
Kyle Leonhard 2025-07-20 18:38:24 -07:00 • committed by GitHub
commit f1000930b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,12 +77,12 @@ rmcp = { version = "0.1", features = ["auth", "transport-sse-client"] }
``` ```
## Complete Example ## Complete Example
client: Please refer to `examples/clients/src/oauth_client.rs` for a complete usage example. client: Please refer to `examples/clients/src/auth/oauth_client.rs` for a complete usage example.
server: Please refer to `examples/servers/src/mcp_oauth_server.rs` for a complete usage example. server: Please refer to `examples/servers/src/complex_auth_sse.rs` for a complete usage example.
### Running the Example in server ### Running the Example in server
```bash ```bash
# Run example # Run example
cargo run --example mcp_oauth_server cargo run --example complex_auth_sse
``` ```
### Running the Example in client ### Running the Example in client