0.2.0 • Published 7 years ago

xo-server-auth-google v0.2.0

Weekly downloads
2
License
AGPL-3.0
Repository
github
Last release
7 years ago

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:

npm.io npm.io

Enable the Google+ API:

npm.io

Add OAuth 2.0 credentials:

npm.io npm.io

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