feat: implement authentication service with Keycloak and SSO support
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user