xo-server-auth-saml 
SAML authentication plugin for XO-Server
This plugin allows SAML users to authenticate to Xen-Orchestra.
The first time a user signs in, XO will create a new XO user with the same identifier.
Install
Installation of the npm package:
> npm install --save xo-server-auth-saml
Usage
This plugin is based on passport-saml, see its documentation for more information about the configuration.
To enable this plugin you have to add it into the configuration file of XO-Server:
plugins:
auth-saml:
path: '/signin/saml/callback'
# Server certificate used to validate
cert: '-----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----'
# Identity provider entry point (sign in URL).
entryPoint: 'https://saml.example.org/signin/'
# Issuer string to supply the identity provider.
issuer: 'xen-orchestra'
# Field to use as the name of the user.
#
# Default: uid.
usernameField: 'uid'
Development
Installing dependencies
> npm install
Compilation
The sources files are watched and automatically recompiled on changes.
> npm run dev
Tests
> npm run test-dev
Contributions
Contributions are very welcomed, either on the documentation or on the code.
You may:
- report any issue you've encountered;
- fork and create a pull request.
License
AGPL3 © Vates SAS