Branded Login Service

Commission Junction’s Branded Login Service enables advertisers to customize the look and feel of a Login page using an XSLT (XSL Transformation) stylesheet. Additionally, the service enables advertisers to specify a destination page for the publisher upon successful login. Commission Junction provides the Basic Login Form as an XHTML template, and enables you to modify the form using an XSLT stylesheet. Refer to the following sections of this topic for more specific information.

Refer to the following sections of this topic for more specific information.

Request URL

The Branded Sign-up Service is available via either the GET method or the POST method.

GET Method

https://api.cj.com/login?tpId=<value>&xslt=<value>&redirect=<value>

POST Method

https://api.cj.com/login

Request Parameters

Note: All parameter names and values are case sensitive. If you use the GET method, all applicable parameter values should be URL-encoded.

Parameter Name

Req?

Description

tpId

Yes

Your advertiser ID.

Example: 58704

xslt

Yes

The URL of the XSLT stylesheet.

redirect

Yes

The URL to which you wish to send the publisher after successful login.

Authorization Key

After successful authentication, Commission Junction appends the URL with the Authorization Key (identified by the parameter k= in the example below).

For example: http://www.companydomain.com/service/&k=<Authorization Key>.

This key identifies the current session and enables you to call subsequent Web services on behalf of the publisher.

Errors

The system displays any resulting errors on the subsequent login page (after the user attempts to login). Refer to the XHTML template for details regarding how Commission Junction includes the errors in the login page in order to properly handle any errors.