Download the PHP package anglemx/onelogin-azure-saml-bundle without Composer
On this page you can find all versions of the php package anglemx/onelogin-azure-saml-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package onelogin-azure-saml-bundle
OneLoginAzureSamlBundle
OneLogin SAML Bundle for Symfony, hardcoded for Azure AD specs
Soft forked from https://github.com/hslavich/OneloginSamlBundle v2.1 hardcoded for Azure AD.
Current target: Symfony 5.4 LTS
Design goals:
- User should specify the "Azure App ID" and the rest of the SAML settings should be predefined and autowired. Required parameters:
- azure_app_id (abcd123789....)
- base_url (https://myapp.com)
- Create a command that outputs the current SP settings (basically, should print out the EntityID using the router)
Installation
Install with composer
Enable the bundle in config/bundles.php
if you're not using Symfony Flex.
Configuration
TO-DO
REFERENCE FROM hslavich repository
Configure SAML
Configure SAML metadata in config/packages/angle_one_login_azure_saml.yaml
. Check https://github.com/onelogin/php-saml#settings for more info.
Custom notes:
Azure App ID is used to cnstruct the EntityId and other URLs
https://login.microsoftonline.com/xxxXXXxxxXXX/saml2
The setting use_attribute_friendly_name
inside the security.yml should be FALSE:
use_attribute_friendly_name: false
Azure AD configuration reference:
Configure SAML metadata in config/packages/angle_one_login_azure_saml.yaml
. Check https://github.com/onelogin/php-saml#settings for more info.
If you don't want to set contactPerson or organization, don't add those parameters instead of leaving them blank.
Configure firewall and user provider in config/packages/security.yaml
Edit your config/routing
or config/routes.yaml
depending on your Symfony version.
hslavich_saml_sp:
resource: "@HslavichOneloginSamlBundle/Resources/config/routing.yml"
All versions of onelogin-azure-saml-bundle with dependencies
symfony/dependency-injection Version ^5.4
symfony/deprecation-contracts Version ^2.1 | ^3
symfony/event-dispatcher-contracts Version ^2.4
symfony/framework-bundle Version ^5.4
symfony/security-bundle Version ^5.4