feat: implement authentication service with Keycloak and SSO support

This commit is contained in:
2025-11-01 15:53:25 -05:00
parent 8a5ada5ca1
commit 7adc90ac33
10 changed files with 592 additions and 36 deletions

View File

@@ -117,16 +117,4 @@ async def exchange_code(
externo y Keycloak lo redirige al frontend con el código en los query params.
"""
service = AuthService(db)
return service.exchange_code(exchange_data)
@router.get("/health")
async def auth_health():
"""
Health check del módulo de autenticación
"""
return {
"status": "ok",
"module": "authentication",
"provider": "keycloak"
}
return service.exchange_code(exchange_data)