{"id":21638778,"url":"https://github.com/novactive/almaviacxibexasamlbundle","last_synced_at":"2026-02-13T10:19:31.113Z","repository":{"id":225110764,"uuid":"765123814","full_name":"Novactive/AlmaviaCXIbexaSamlBundle","owner":"Novactive","description":"Bundle that add a way to connect to Ibexa using the SAML protocol","archived":false,"fork":false,"pushed_at":"2025-02-04T15:26:28.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-24T09:51:13.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Novactive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-29T10:25:38.000Z","updated_at":"2025-02-04T15:26:02.000Z","dependencies_parsed_at":"2025-02-04T16:34:30.367Z","dependency_job_id":null,"html_url":"https://github.com/Novactive/AlmaviaCXIbexaSamlBundle","commit_stats":null,"previous_names":["novactive/almaviacxibexasamlbundle"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Novactive/AlmaviaCXIbexaSamlBundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novactive%2FAlmaviaCXIbexaSamlBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novactive%2FAlmaviaCXIbexaSamlBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novactive%2FAlmaviaCXIbexaSamlBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novactive%2FAlmaviaCXIbexaSamlBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Novactive","download_url":"https://codeload.github.com/Novactive/AlmaviaCXIbexaSamlBundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novactive%2FAlmaviaCXIbexaSamlBundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29401566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T04:11:37.647Z","updated_at":"2026-02-13T10:19:31.083Z","avatar_url":"https://github.com/Novactive.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AlmaviaCX Ibexa SAML Bundle\n\n## Configuration\nAdd the following config to the routing config file\n```yaml\n\nhslavich_saml_sp:\n  resource: \"@HslavichOneloginSamlBundle/Resources/config/routing.yml\"\n\n```\n\nAdd the following parameters to the security config file\n```yaml\n\nibexa_saml_front:\n    pattern: /saml/(login|metadata|logout)\n    security: false\n\nibexa_front:\n    ...\n    saml:\n        use_attribute_friendly_name: false\n        check_path: saml_acs\n        login_path: saml_login\n        failure_path: saml_login\n        default_target_path: /dashboard\n        always_use_default_target_path: true\n        user_factory: almaviacx.saml.user_factory\n        # username_attribute:\n```\n\nThe following variables are used to define the different parameters for the SAML endpoint communication\n```\nSAML_IDENTITY_PROVIDER_ENTITYID=\"...\"\nSAML_IDENTITY_PROVIDER_LOGIN_URL=\"...\"\nSAML_IDENTITY_PROVIDER_LOGIN_BINDING=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\nSAML_IDENTITY_PROVIDER_LOGOUT_URL=\"...\"\nSAML_IDENTITY_PROVIDER_LOGOUT_BINDING=urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\nSAML_IDENTITY_PROVIDER_EMAIL_ATTRIBUTE=\"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress\"\nSAML_IDENTITY_PROVIDER_X509_CERT=\"...\"\n\nSAML_SERVICE_PROVIDER_URL=https://novabundles.ddev.site/admin\nSAML_SERVICE_PROVIDER_NAMEID_FORMAT='urn:oasis:names:tc:SAML:2.0:nameid-format:nameidentifier'\nSAML_SERVICE_PROVIDER_USER_GROUP_ID=sdf1sd61868sd1fdsvc\n\nenv(SAML_IDENTITY_PROVIDER_EMAIL_ATTRIBUTE): ~\nenv(SAML_IDENTITY_PROVIDER_LOGIN_ATTRIBUTE): ~\n```\n\nThese variables are used to define the following global configuration :\n```\nidp:\n    entityId: '%env(resolve:SAML_IDENTITY_PROVIDER_ENTITYID)%'\n    singleSignOnService:\n        url: '%env(resolve:SAML_IDENTITY_PROVIDER_LOGIN_URL)%'\n        binding: '%env(resolve:SAML_IDENTITY_PROVIDER_LOGIN_BINDING)%'\n    singleLogoutService:\n        url:  '%env(resolve:SAML_IDENTITY_PROVIDER_LOGOUT_URL)%'\n        binding: '%env(resolve:SAML_IDENTITY_PROVIDER_LOGOUT_BINDING)%'\n    x509cert: '%env(resolve:SAML_IDENTITY_PROVIDER_X509_CERT)%'\nsp:\n    entityId: '%env(resolve:SAML_SERVICE_PROVIDER_URL)%/saml/metadata'\n    assertionConsumerService:\n        url: '%env(resolve:SAML_SERVICE_PROVIDER_URL)%/saml/acs'\n        binding: 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST'\n    singleLogoutService:\n        url: '%env(resolve:SAML_SERVICE_PROVIDER_URL)%/saml/logout'\n        binding: 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect'\n    NameIDFormat: '%env(resolve:SAML_SERVICE_PROVIDER_NAMEID_FORMAT)%'\nbaseurl: '%env(resolve:SAML_SERVICE_PROVIDER_URL)%/saml'\ndebug: '%kernel.debug%'\n```\n\nTo change the configuration based on siteaccess, it's possible to defined it under the folowing siteaccess aware parameter : `almaviacx.saml.\u003csiteaccess|siteaccess_group\u003e.auth_settings`\n\nThe following parameters are also available to tweak the behavior\n```yaml\n# Attribute used to get the email address from\nalmaviacx.saml.identity.provider.email.attribute: '%env(resolve:SAML_IDENTITY_PROVIDER_EMAIL_ATTRIBUTE)%'\n# Attribute used to get the login from (null = nameId or what is defined for the \"username_attribute\" parameter)\nalmaviacx.saml.identity.provider.login.attribute: '%env(resolve:SAML_IDENTITY_PROVIDER_LOGIN_ATTRIBUTE)%'\n\n# Method used to load existing users \nalmaviacx.saml.config.default.user_load_method: !php/const AlmaviaCX\\Bundle\\IbexaSaml\\Security\\Saml\\SamlUserProvider::LOAD_METHOD_LOGIN\n\n# Content Id or Remote Content Id of the user group where new users will be created\nalmaviacx.saml.config.default.user_group_id: '%env(resolve:SAML_SERVICE_PROVIDER_USER_GROUP_ID)%'\n\n# Map user content type fields to the saml response attributes\nalmaviacx.saml.config.default.user_attributes_mapping:\n    first_name: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name\n    last_name: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name\n```\n\n## Load user by email instead of login\n\nConfigure the following parameters :\n```yaml\n# In security.yaml, configure the value for the following parameter :\nusername_attribute: '%almaviacx.saml.identity.provider.email.attribute%'\n    \n# As you don't want the email address to be used as login (Ibexa doesn't support special char in login), you need to configure this parameter :\nalmaviacx.saml.identity.provider.login.attribute: \n    \n# Change the user load method\nalmaviacx.saml.config.default.user_load_method: !php/const AlmaviaCX\\Bundle\\IbexaSaml\\Security\\Saml\\SamlUserProvider::LOAD_METHOD_EMAIL\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovactive%2Falmaviacxibexasamlbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnovactive%2Falmaviacxibexasamlbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovactive%2Falmaviacxibexasamlbundle/lists"}