Connect to Pydio Cells via SimpleSAML PHP
About SimpleSAMLphp¶
SimpleSAMLphp is written in native PHP and deals with authentication. For more information, please visit this link
Install and configure SimpleSAMLphp server¶
Download the source code here.
Install following this guide.
Setup SimpleSAMLphp as an Identity Provider
Register Cells as a Service Provider in SimpleSAMLphp¶
metadata/saml20-sp-remote.php
The callback url used here is generated in the next step. The format of the url may vary depending on the version of Cells so please refer to your admin console.
Add a SimpleSAMLphp connector in Cells¶
Navigate to the Admin Console > Authentication > OAUTH2 / OIDC
Use the following configuration example to create a new connector :
Connector Options¶
- Connector type :
SAML
- Id:
your_id_here
- Name:
your_name_here
(the name will appear to the end user in the Login dialog)
SAML Options¶
- SSO URL user for POST Value:
https://<your_saml_url_here>/saml2/idp/SSOService.php
- CA to use when validating the signature of the SAML response :
<your_certificate_path_on_the_cells_server>
- Callback URL : (generated - use it to register cells as a relying party trust in adfs)
- Name of the attributes to map in the ID Token Claims: (this will depend on your configuration - see excerpts below)
- Username:
uid
- Email:
email
- Manually specify issuers value:
- Entity issuer:
https://<your_cells_url_here>
- SSO issuer:
https://<your_saml_url>/saml2/idp/metadata.php
Excerpts from local testing configuration¶
Enable Idp protocol in config/config.php
config/authsources.php
metadata/saml20-idp-hosted.php