Eloqua

1 Authenticating to Oracle Eloqua

1.1 Connect via Login

To connect via Login, set AuthScheme to Basic. The standard method of authentication to Oracle Eloqua is via the login method. The Login method requires you to set Company and to set User, and Password to the credentials you use to log in. This method uses HTTP Basic authentication over SSL.

1.2 Connect via OAuth

To connect via OAuth, set AuthScheme to OAuth.

You can follow the procedure below to obtain the client credentials, the client Id (app Id) and client secret:

  1. Log in to Oracle Eloqua.

  2. Click Settings -> AppCloud Developer (under Platform Extensions) -> Create New App.

  3. Enter a name, icon, and description for the app to be displayed to users when they connect to Oracle Eloqua. The OAuthClientId and OAuthClientSecret will be displayed.

  4. If you are creating a desktop application, set the CallbackURL to http://localhost:3000, or another port of your choice.

Eloqua requires that the Callback URL begins with https://. You must specify a port.

1.2.1 Get an OAuth Access Token

After setting the following, you are ready to connect:

  • OAuthClientId: Set this to the Client Id in your app settings.

  • OAuthClientSecret: Set this to the Client Secret in your app settings.

  • CallbackURL: Set this to the Redirect URL in your app settings.

  • InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to avoid repeating the OAuth exchange and manually setting the OAuthAccessToken.

When you connect the provider opens the OAuth endpoint in your default browser. Log in and grant permissions to the application. The provider then completes the OAuth process:

  1. Extracts the access token from the callback URL and authenticates requests.

  2. Saves OAuth values in OAuthSettingsLocation to be persisted across connections.

1.2.2 The Password GrantType

When setting the OAuthGrantType to password, an OAuth flow may be triggered that passes user credentials. In this case, there will be no browser window to authorize. Instead, the following connection properties will need to be set:

  • User - Set this to the user name.

  • User - Set this to the password.

  • Company - Set the company for the user.

  • OAuthClientId: Set this to the Client Id in your app settings.

  • OAuthClientSecret: Set this to the Client Secret in your app settings.

  • OAuthGrantType: Set this to password.

  • InitiateOAuth: Set this to GETANDREFRESH. You can use InitiateOAuth to avoid repeating the OAuth exchange and manually setting the OAuthAccessToken.

2 Connection properties

The following are the connection properties for Oracle Eloqua. Not all properties are required. Enter only property values pertaining to your installation. Several properties will be automatically initialized with the appRules defaults.

Last updated