Methods of Authentication

You can authenticate in two ways:

  • Browser-Based - Use browser-based authentication if you are providing an interactive web-based login form for users other than yourself.

  • Programmatically - Use programmatic authentication if you are accessing OpenX protected resources with your own credentials only and don't plan on providing a web-based login form for other users.

Technical Differences

The following sections show the differences between browser-based and programmatic authentication.

URL Differences

Browser-based Different? Programmatic No Yes No

Callback URL Difference

Browser-based Programmatic
Your applications' callback URL oob (out of band)

Cookie Difference

Browser-based Programmatic
Does not require that you persist the access token in a cookie. When the user has completed the session, the access token will be released. Requires that you persist the access token in a cookie named openx3_access_token until the session is complete.