Configure OAuth Authentication
-
Login as
escenic
on your assembly-host (see the CUE Content Store Installation Guide for an explanation of this term). -
Go to
/etc/escenic/engine/common/com/escenic/auth/oauth2
and openOAuth2Configuration.properties
in an editor. -
Go to the Google Developers Console and select the project you created.
-
In the sidebar on the left, select Credentials.
-
Click CREATE NEW CLIENT ID.
-
Select Web application.
-
In the Authorized JavaScript origins field, enter
http://
your-server. -
In the Authorized redirect URI field, enter
http://
your-server/escenic/logon/oauth2.do
. -
Click Create client ID.
-
Copy the value displayed in the Client ID field to the
clientId.web
property inOAuth2Configuration.properties
. -
Copy the value displayed in the Client secret field to the
clientSecret.web
property inOAuth2Configuration.properties
. -
Save and close
OAuth2Configuration.properties
.