Google Authentication
If the relevant back-end system(s) have been set up to support Google
Authentication, then you can configure
CUE
support by adding a YAML configuration file to the
CUE
configuration folder
(/etc/escenic/cue-web
-3.0).
When you are configuring third-party authentication for the
Content Store
as described in
Configure
OAuth Authentication, you need to add a
CUE
redirect URI to the Authorized redirect URI in
step 16. The URI must be your
CUE URI
followed by /oauth_callback.html
: for example
http://
your-cue-host/cue-web/oauth_callback.html
.
Your configuration file must contain the following settings:
oauth: name: "Google" label: "Log in with Google account" authURI: "https://accounts.google.com/o/oauth2/auth scope: "email" clientId: "google-client-id"
where google-client-id is the client ID you created in the steps described above.
When setting up Google authentication for the Content Store, you create two client IDs – one for desktop clients and one for web clients. Make sure that you use the web client ID for configuring CUE.
When you have saved this file, enter (as the root
user):
#
dpkg-reconfigure cue-web-3.0
This reconfigures CUE with the changes you have made. The CUE login page will now include a Log in with Google account option.