Spaces:
Sleeping
Sleeping
File size: 888 Bytes
186b3e1 2576598 e852b41 186b3e1 cd3df42 186b3e1 c6a5c44 f102978 2554511 c6a5c44 7fd9eb2 c6a5c44 259f72f e1fa82f f102978 259f72f 186b3e1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
---
title: As
emoji: 💻
colorFrom: purple
colorTo: pink
sdk: docker
pinned: true
license: mit
short_description: simple Auth Server
app_port: 7860
---
# This Oauth server is the code found at
github [modelcontextprotocol/python-sdk]( https://github.com/modelcontextprotocol/python-sdk/tree/main/examples/servers/simple-auth/mcp_simple_auth)
with changes made to run in a Huggingface Space as an simple free standing MCP Oauth Server.
Check out [AuthO]( https://auth0.com/) for a next step.
The code was originally written to run with client, resource server, and auth server all on a single machine.
**To run this in your own HF Space**
# Duplicate this space
## Add 3 secrets to the space
1. AS_HOST_NAME ((embeded host name) eg applemuncy-as.hf.space)
2. USER_NAME
3. USER_PASSWORD
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|