Files
xen-orchestra/google.md
Olivier Lambert db86bff8e6 Update google.md
2015-11-11 18:10:54 +01:00

1.8 KiB

Google

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, without any permission.

Creating the Google project

Create a new project:

Enable the Google+ API:

Add OAuth 2.0 credentials:

Configure the XO plugin

In Settings, then Plugins, expand the Google plugin detail and provide:

  • a clientID e.g 326211154583-nt2s112d3t7f4f1hh49oo9164nivvbnu.apps.googleusercontent.com
  • a clientSecret, e.g HTDb8I4jXiLRMaRL15qCffQ
  • the callbackURL, e.g http://xo.company.net/signin/google/callback

Be sure to activate the plugin after you save the configuration (button on top).

You can now connect with your Google account in the log in page:

Google log in

Debugging

If you can't log in with your Google settings, please check the logs of xo-server while you attempt to connect. It will give you hints about the error encountered. You can do that with a tail -f /var/log/syslog -n 100 on your XOA.

Missing plugin?

If you don't find the Google plugin in the list, be sure to have it displayed in your Xen Orchestra configuration (in /etc/xo-server/config.yaml):

plugins:

  auth-google:

If it's not the case, don't forget to restart the service after your modification, with systemctl restart xo-server.service.