Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ def read_root():
|
|
| 54 |
return FileResponse('static/index.html')
|
| 55 |
|
| 56 |
@app.get("/custom-auth")
|
| 57 |
-
|
| 58 |
# Verify the user's identity with custom logic.
|
| 59 |
token = create_jwt(cl.User(identifier="Test User"))
|
| 60 |
logger.info("Custom auth token generated.")
|
|
|
|
| 54 |
return FileResponse('static/index.html')
|
| 55 |
|
| 56 |
@app.get("/custom-auth")
|
| 57 |
+
def custom_auth():
|
| 58 |
# Verify the user's identity with custom logic.
|
| 59 |
token = create_jwt(cl.User(identifier="Test User"))
|
| 60 |
logger.info("Custom auth token generated.")
|