Skip to main content
Version: 1.3.9

Integración con SIU-Araí

Documentación Araí para integrar módulos de terceros

  1. Dentro de la aplicación de Araí Usuarios, ir a Aplicaciones.
  2. Completar el formulario con los siguientes datos:
  3. Editar el archivo config/idp.yml dentro del proyecto Araí Usuarios:
    service_provider:
    custom:
    'https://uunn.local':
    AssertionConsumerService: 'https://uunn.local/api/auth/saml/callback'
    appUniqueId: sudocu
  4. Modificar el archivo config/config-api-server.json:
    {
    {
    "auth": {
    "saml": {
    "identifier": "uniqueIdentifier",
    "crearSiNoExiste": true,
    "habilitacionAutomatica": true,
    "perfilXDefecto": 3,
    "claustroXDefecto": "ND",
    "habilitado": true,
    "entryPoint": "https://uunn.local/idp/saml2/idp/SSOService.php",
    "logoutUrl": "https://uunn.local/idp/saml2/idp/SingleLogoutService.php?ReturnTo=https://uunn.local/sudocu/",
    "cert_pem": ""
    }
    }
    },
    "repositorios": {
    "documentos": "arai",
    "adjuntos": "filesystem",
    "arai": {
    "url_notificacion": "",
    "url": "https://uunn.local/documentos/rest/backend/documentos",
    "username": "documentos",
    "id_instalacion": "sudocu"
    }
    },
    "firma": {
    "modelo_autorizacion": "siu",
    "api": "https://uunn.local/documentos/rest/backend",
    "api_front": "",
    "username": "documentos",
    }
    }
  5. Modificar el archivo config/config-sudocu-login.json:
    "urlLogout": "https://uunn.local/idp/saml2/idp/SingleLogoutService.php?ReturnTo=https://uunn.local/sudocu/#!/sso/logout_local"