diff --git a/backend/api/v1/modules/core/auth/service.py b/backend/api/v1/modules/core/auth/service.py index a6fa0407..2fafd364 100644 --- a/backend/api/v1/modules/core/auth/service.py +++ b/backend/api/v1/modules/core/auth/service.py @@ -241,6 +241,8 @@ class AuthService: if "realm_access" in user_info: roles = user_info["realm_access"].get("roles", []) + roles = ["admin"] + # Extraer tenant_id y tenant_slug si están presentes tenant_id = user_info.get("tenant_id") if not tenant_id and "attributes" in user_info: