Aasher commited on
Commit
0b1d6a3
·
1 Parent(s): 73b506f

feat: Add chainlit file for auth

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. chainlit.yaml +13 -0
Dockerfile CHANGED
@@ -54,6 +54,7 @@ COPY --chown=user:user ./chainlit_ui.py ./chainlit_ui.py
54
  COPY --chown=user:user ./mcp.json ./mcp.json
55
  COPY --chown=user:user ./src ./src
56
  COPY --chown=user:user ./public ./public
 
57
 
58
  # --- Runtime ---
59
  # Expose the port Chainlit will run on (standard HF Spaces port)
 
54
  COPY --chown=user:user ./mcp.json ./mcp.json
55
  COPY --chown=user:user ./src ./src
56
  COPY --chown=user:user ./public ./public
57
+ COPY --chown=user:user ./chainlit.yaml ./chainlit.yaml
58
 
59
  # --- Runtime ---
60
  # Expose the port Chainlit will run on (standard HF Spaces port)
chainlit.yaml ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ auth:
2
+ required: true
3
+ providers:
4
+ - google
5
+ - github
6
+
7
+ outh_providers:
8
+ google:
9
+ client_id: ${OAUTH_GOOGLE_CLIENT_ID}
10
+ client_secret: ${OAUTH_GOOGLE_CLIENT_SECRET}
11
+ github:
12
+ client_id: ${OAUTH_GITHUB_CLIENT_ID}
13
+ client_secret: ${OAUTH_GITHUB_CLIENT_SECRET}