Deploy the custom PHP scripts

The Oracle Social Cloud Accelerator includes several custom PHP scripts. These scripts must be placed in the correct folders, so that they can be accessed at run time.

Before you begin

You add to the File Manager the custom PHP scripts that you downloaded from GitHub. The PHP scripts are in the social/scripts/custom directory.

About this task

The following PHP scripts are used in the integration:
  • oauthcontroller.phph

  • srmoauth.php

  • srmoauthcallback.php

  • srmoauthinit.php

It is not necessary to make any changes to these PHP scripts, unless you need to modify the logic to support your business requirements.

Procedure

  1. In the Service Console, click Configuration on the navigation pane.
  2. Double-click File Manager under Site Configuration.
  3. From the Switch to drop-down menu, select custom scripts.
  4. Click Browse, select the oauthcontroller.phph file, and then click Go.
  5. Repeat step 4 for the following files:
    • srmoauth.php
    • srmoauthcallback.php
    • srmoauthinit.php

Results

After all of the files are uploaded, they are displayed in the /custom folder in the File Manager.

What to do next

After completing the Oracle Service Cloud configuration, you must log out of the Service Console.