2017-01-13 17:40:13 +01:00
|
|
|
# xo-server-auth-saml [](https://travis-ci.org/vatesfr/xen-orchestra)
|
2015-04-15 17:38:10 +02:00
|
|
|
|
2015-08-28 16:16:32 +02:00
|
|
|
> SAML authentication plugin for XO-Server
|
2015-04-15 17:38:10 +02:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2019-01-14 21:07:43 +01:00
|
|
|
For installing XO and the plugins from the sources, please take a look at [the documentation](https://xen-orchestra.com/docs/from_the_sources.html).
|
2015-04-15 17:38:10 +02:00
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
2015-08-28 16:16:32 +02:00
|
|
|
> This plugin is based on [passport-saml](https://github.com/bergie/passport-saml),
|
|
|
|
|
> see [its documentation](https://github.com/bergie/passport-saml#configure-strategy)
|
|
|
|
|
> for more information about the configuration.
|
|
|
|
|
|
2016-09-27 15:29:23 +02:00
|
|
|
Like all other xo-server plugins, it can be configured directly via
|
2017-02-27 15:29:36 +01:00
|
|
|
the web interface, see [the plugin documentation](https://xen-orchestra.com/docs/plugins.html).
|
2015-04-15 17:38:10 +02:00
|
|
|
|
2015-09-21 10:30:53 +02:00
|
|
|
> Important: When registering your instance to your identity provider,
|
|
|
|
|
> you must configure its callback URL to
|
|
|
|
|
> `http://xo.company.net/signin/saml/callback`!
|
|
|
|
|
|
2015-04-15 17:38:10 +02:00
|
|
|
## Development
|
|
|
|
|
|
|
|
|
|
```
|
2016-10-28 13:45:43 +02:00
|
|
|
# Install dependencies
|
2015-04-15 17:38:10 +02:00
|
|
|
> npm install
|
|
|
|
|
|
2016-10-28 13:45:43 +02:00
|
|
|
# Run the tests
|
|
|
|
|
> npm test
|
2015-04-15 17:38:10 +02:00
|
|
|
|
2016-10-28 13:45:43 +02:00
|
|
|
# Continuously compile
|
2015-04-15 17:38:10 +02:00
|
|
|
> npm run dev
|
|
|
|
|
|
2016-10-28 13:45:43 +02:00
|
|
|
# Continuously run the tests
|
|
|
|
|
> npm run dev-test
|
2015-04-15 17:38:10 +02:00
|
|
|
|
2016-10-28 13:45:43 +02:00
|
|
|
# Build for production (automatically called by npm install)
|
|
|
|
|
> npm run build
|
2015-04-15 17:38:10 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Contributions
|
|
|
|
|
|
2019-12-04 17:18:47 +01:00
|
|
|
Contributions are _very_ welcomed, either on the documentation or on
|
2015-04-15 17:38:10 +02:00
|
|
|
the code.
|
|
|
|
|
|
|
|
|
|
You may:
|
|
|
|
|
|
2018-02-07 10:40:09 +01:00
|
|
|
- report any [issue](https://github.com/vatesfr/xen-orchestra/issues)
|
2015-04-15 17:38:10 +02:00
|
|
|
you've encountered;
|
|
|
|
|
- fork and create a pull request.
|
|
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
AGPL3 © [Vates SAS](http://vates.fr)
|