You are here: Developers > OpenX Platform API > Authentication reference > Methods of authentication

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
https://sso.openx.com/api/index/initiate No https://sso.openx.com/api/index/initiate
https://sso.openx.com/login/login Yes https://sso.openx.com/login/process
https://sso.openx.com/api/index/token No https://sso.openx.com/api/index/token.

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.

Feedback form