We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d01b74 commit fe8056fCopy full SHA for fe8056f
docs/servers/auth/oauth-proxy.mdx
@@ -165,7 +165,7 @@ The `OAuthProxy` class provides the complete proxy implementation:
165
166
```python
167
from fastmcp import FastMCP
168
-from fastmcp.server.auth.proxy import OAuthProxy
+from fastmcp.server.auth import OAuthProxy
169
from fastmcp.server.auth.providers.jwt import JWTVerifier
170
171
# Configure token validation for your provider
src/fastmcp/server/auth/__init__.py
@@ -6,6 +6,7 @@
6
AuthProvider,
7
)
8
from .providers.jwt import JWTVerifier, StaticTokenVerifier
9
+from .oauth_proxy import OAuthProxy
10
11
12
__all__ = [
@@ -16,6 +17,7 @@
16
17
"StaticTokenVerifier",
18
"RemoteAuthProvider",
19
"AccessToken",
20
+ "OAuthProxy",
21
]
22
23
0 commit comments