Previous Topic: Configure and Apply an OAuth Authentication SchemeNext Topic: Confirm the OAuth Plugin


Register an Application with an OAuth Provider

Prerequisites

Create a Google Apps or a Facebook account and register the application.

For Google

Follow these steps:

  1. Establish a Google Apps account.
  2. Navigate to https://code.google.com/apis/console and log in.
  3. Select API Access and create an OAuth client ID. To create the client ID, enter the following information:
    Product name
    Product logo

    Enter the location of your product logo image.

    Home Page URL

    http(s)://homepage.com

    Example: http://www.forwardinc.com

    The preceding branding information is shown to users whenever they request access to your application.

    Application type

    Web application

    Your site or hostname

    http(s)://cloudminder_host

    Example: https://cloud.ca.com

  4. Click Create clientID.
  5. Click Edit settings and edit the Redirect URI as follows:
    Authorized Redirect URls

    https://cloudminder_host/siteminderagent/forms/oauthcb.fcc?SMQUERYDATA=Sample

    Example: https://cloud.ca.com/siteminderagent/forms/oauthcb.fcc?SMQUERYDATA=Sample

    Important! If the SecureURLs parameter for the CAM-AgentObj object is set to "No", instead edit the Redirect URI as follows:

    http://cloudminder_host/siteminderagent/forms/oauthcb.fcc

    By default, the SecureURLs parameter is set to "Yes" during SiteMinder Policy Server installation. You can check the value of the SecureURLs parameter in the CSP Console. Log in to the CSP Console, then click Infrastructure, Agent, Agent Configuration Objects. Select CAM-AgentObj and click Edit. Page forward to the SecureURLs parameter.

    Authorized JavaScript Origins

    http(s)://cloudminder_host

    Example: https://cloud.ca.com

  6. Click Update.

The Google registration process is complete.

For Facebook

Follow these steps:

  1. Establish a Facebook account.
  2. Go to https://developers.facebook.com/apps.
  3. Choose the AppName and click Continue.
  4. Enter the captcha text displayed and click Continue.
  5. In the Website with Facebook Login section, complete the following field:
    Site URL

    https://cloudminder_host/siteminderagent/forms/oauthcb.fcc?SMQUERYDATA=Sample

    Example: https://cloud.ca.com/siteminderagent/forms/oauthcb.fcc?SMQUERYDATA=Sample

    Important! If the SecureURLs parameter for the CAM-AgentObj object is set to "No", instead edit the Redirect URI as follows:

    http://cloudminder_host/siteminderagent/forms/oauthcb.fcc

    By default, the SecureURLs parameter is set to "Yes" during SiteMinder Policy Server installation. You can check the value of the SecureURLs parameter in the CSP Console. Log in to the CSP Console, then click Infrastructure, Agent, Agent Configuration Objects. Select CAM-AgentObj and click Edit. Page forward to the SecureURLs parameter.

  6. Click Save changes.

The registration process results in the generation of the client application URL, the client application ID, and its associated secret. Registration also generates the OAuth authorization server endpoint URLs, from where the OAuth service obtains the authorization code and access token. Some of this information is required when setting up the files that the OAuth authentication scheme uses to operate properly.