Configure OAuth Authentication

  1. Login as escenic on your assembly-host (see the Escenic Content Engine Installation Guide for an explanation of this term).

  2. Go to /etc/escenic/engine/common/com/escenic/auth/oauth2 and open OAuth2Configuration.properties in an editor.

  3. Go to the Google Developers Console and select the project you created.

  4. In the sidebar on the left, select APIs & auth.

  5. Find Google+ API in the displayed list of APIs and make sure that its Status is set to ON.

  6. In the sidebar on the left, select Credentials.

  7. Click CREATE NEW CLIENT ID.

  8. Select Installed application.

  9. Select Other.

  10. Click Create client ID.

  11. Copy the value displayed in the Client ID field to the clientId.application property in OAuth2Configuration.properties.

  12. Copy the value displayed in the Client secret field to the clientSecret.application property in OAuth2Configuration.properties. You have now configured OAuth-based authentication for Content Studio only. If you want to use OAuth-based authentication for web applications such as Web Studio as well, continue with step 13. Otherwise you can jump straight to step 20.

  13. Click CREATE NEW CLIENT ID.

  14. Select Web application.

  15. In the Authorized JavaScript origins field, enter http://your-server.

  16. In the Authorized redirect URI field, enter http://your-server/escenic/logon/oauth2.do.

  17. Click Create client ID.

  18. Copy the value displayed in the Client ID field to the clientId.web property in OAuth2Configuration.properties.

  19. Copy the value displayed in the Client secret field to the clientSecret.web property in OAuth2Configuration.properties.

  20. Save and close OAuth2Configuration.properties.