Improve the demo feature of the project
This commit is contained in:
@@ -59,7 +59,8 @@ class UserProxy:
|
||||
try:
|
||||
# Get auth service URL (with service discovery if available)
|
||||
auth_url = await self._get_auth_service_url()
|
||||
target_url = f"{auth_url}/api/v1/users/{path}"
|
||||
# FIX: Auth service uses /api/v1/auth/ prefix, not /api/v1/users/
|
||||
target_url = f"{auth_url}/api/v1/auth/{path}"
|
||||
|
||||
# Prepare headers (remove hop-by-hop headers)
|
||||
headers = self._prepare_headers(dict(request.headers))
|
||||
|
||||
Reference in New Issue
Block a user