Download the PHP package aa-aahmed/saml2-bridge-bundle without Composer
On this page you can find all versions of the php package aa-aahmed/saml2-bridge-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aa-aahmed/saml2-bridge-bundle
More information about aa-aahmed/saml2-bridge-bundle
Files in aa-aahmed/saml2-bridge-bundle
Package saml2-bridge-bundle
Short Description Symfony bundle that provide a SAML Identity Provider (idp).
License GPL-3.0-or-later
Informations about the package saml2-bridge-bundle
SAML2 Bridge Bundle
A bundle that adds SAML capabilities to your application using simplesamlphp/saml2 highly inspired by
OpenConext/Stepup-saml-bundle
SAML Support
SAML Support is limited, this bundle can be used to provide a basic identity provider with the following support:
- Basic metadata
- Single Sign On:
- Binding:
- Http-POST & Http-Redirect signed request
- Http-POST & Http-Post signed response
- Binding:
- Single Logout:
- Binding:
- Http-POST & Http-Redirect signed request
- Http-POST & Http-Redirect signed response
- Both identity provider initiated and service provider initiated
- Binding:
Getting started
Installation
-
Add the package to your Composer file
- Add the bundle to your kernel in
app/AppKernel.php
Configuration
Also add logout handler.
The hosted configuration lists the configuration for the services (SP, IdP or both) that your application offers. SP and IdP
functionality can be turned off and on individually through the repective enabled
flags.
The inlined certificate in the last line can be replaced with certificate_file
containing a filesystem path to
a file which contains said certificate.
It is recommended to use parameters as listed above. The various publickey
and privatekey
variables are the
contents of the key in a single line, without the certificate etc. delimiters. The use of parameters as listed above
is highly recommended so that the actual key contents can be kept out of the configuration files (using for instance
a local parameters.yml
file).
The service_provider_repository
is a repository of service providers for which you offer IdP services. The service
configured must implement the AdactiveSas\Saml2BridgeBundle\Entity\ServiceProviderRepository
interface.
Example Usage
Implement the Service Provider Repository
Slack example
Freshdesk example
NewRelic example
Note: Keep in mind that this is a example, you may retrieve ServiceProviders from database
Create the Controller
Define services
Configuration
Note: this is development keys, never use them in production !
Tests
We are aware that this bundle really miss tests, this would come in next releases.
Contributing
For the time being, this bundle is very limited but is designed to be support all SAML2 process.
So feel free to create issue and pull-request in order to help us making this bundle a bit more complete.
All versions of saml2-bridge-bundle with dependencies
ext-openssl Version *
simplesamlphp/saml2 Version ^1.10.3
symfony/symfony Version 3.3.*
symfony/workflow Version 3.3.*