freddyaboulton HF Staff commited on
Commit
cd91ce3
·
verified ·
1 Parent(s): 44ad8d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ mcp = FastMCP(
25
  auth=AuthSettings(
26
  issuer_url=AnyHttpUrl("https://huggingface.co/.well-known/oauth-authorization-server"), # Authorization Server URL
27
  resource_server_url=AnyHttpUrl("https://freddyaboulton-fastmcp-oauth.hf.space/"), # This server's URL
28
- required_scopes=["user"],
29
  ),
30
  )
31
 
 
25
  auth=AuthSettings(
26
  issuer_url=AnyHttpUrl("https://huggingface.co/.well-known/oauth-authorization-server"), # Authorization Server URL
27
  resource_server_url=AnyHttpUrl("https://freddyaboulton-fastmcp-oauth.hf.space/"), # This server's URL
28
+ required_scopes=["inference-api"],
29
  ),
30
  )
31