Files
xen-orchestra/packages/xo-server-auth-google/README.md
2016-12-16 09:47:26 +01:00

1.8 KiB

xo-server-auth-google Build Status

Google authentication plugin for XO-Server

This plugin allows Google 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 --global xo-server-auth-google

Usage

This plugin is based on passport-google, see its documentation for more information about the configuration.

Creating the Google project

Create a new project:

Enable the Google+ API:

Add OAuth 2.0 credentials:

Add the plugin to XO-Server config

Like all other xo-server plugins, it can be configured directly via the web iterface, see the plugin documentation.

Development

# Install dependencies
> npm install

# Run the tests
> npm test

# Continuously compile
> npm run dev

# Continuously run the tests
> npm run dev-test

# Build for production (automatically called by npm install)
> npm run build

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