mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-17 19:19:12 +02:00
* Add JWT audience validation and RFC 8707 warnings to auth providers * chore: Update SDK documentation * Update AuthKit example README env var name * Move RFC 8707 warnings inside default verifier guard * chore: Update SDK documentation --------- Co-authored-by: marvin-context-protocol[bot] <225465937+marvin-context-protocol[bot]@users.noreply.github.com>
25 lines
420 B
Markdown
25 lines
420 B
Markdown
# AuthKit DCR Example
|
|
|
|
Demonstrates FastMCP server protection with AuthKit Dynamic Client Registration.
|
|
|
|
## Setup
|
|
|
|
1. Set your AuthKit domain:
|
|
|
|
```bash
|
|
export AUTHKIT_DOMAIN="https://your-app.authkit.app"
|
|
```
|
|
|
|
2. Run the server:
|
|
|
|
```bash
|
|
python server.py
|
|
```
|
|
|
|
3. In another terminal, run the client:
|
|
|
|
```bash
|
|
python client.py
|
|
```
|
|
|
|
The client will open your browser for AuthKit authentication.
|