Skip to content

Commit ed1e4be

Browse files
committed
refer to example in docs
1 parent afdc0ec commit ed1e4be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/03_authentication_and_authorization.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ mcp = FastApiMCP(
4949
mcp.mount()
5050
```
5151

52+
For a complete working example of authorization header, check out the [auth_example_token_passthrough.py](/examples/08_auth_example_token_passthrough.py) in the examples folder.
53+
5254
## OAuth Flow
5355

5456
FastAPI-MCP supports the full OAuth 2 flow, compliant with [MCP Spec 2025-03-26](https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization).

0 commit comments

Comments
 (0)