Spaces:
Sleeping
Sleeping
apple muncy commited on
Commit ·
e1fa82f
1
Parent(s): e38d16f
Add to README.md
Browse filesSigned-off-by: apple muncy <apple@llama-3.local>
README.md
CHANGED
|
@@ -9,11 +9,18 @@ license: apache-2.0
|
|
| 9 |
short_description: simple Auth Server
|
| 10 |
app_port: 7860
|
| 11 |
---
|
| 12 |
-
This Oauth server is the code found at
|
|
|
|
|
|
|
| 13 |
|
| 14 |
Check out https://auth0.com/ for a next step.
|
| 15 |
|
| 16 |
The code was originally written to run with client, resource server, and auth server all on a single machine.
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 9 |
short_description: simple Auth Server
|
| 10 |
app_port: 7860
|
| 11 |
---
|
| 12 |
+
#This Oauth server is the code found at
|
| 13 |
+
[modelcontextprotocol /
|
| 14 |
+
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.
|
| 15 |
|
| 16 |
Check out https://auth0.com/ for a next step.
|
| 17 |
|
| 18 |
The code was originally written to run with client, resource server, and auth server all on a single machine.
|
| 19 |
+
**To run this in your own HF Space
|
| 20 |
+
# Duplicate this space
|
| 21 |
+
## Add 3 secrets to the space
|
| 22 |
+
-AS_HOST_NAME (ex. applemuncy-as)
|
| 23 |
+
-USER_NAME
|
| 24 |
+
-USER_PASSWORD
|
| 25 |
|
| 26 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|