Redirection based workflow

The redirection-based workflow starts by navigating to the public Sandbox OAuth login endpoint.

Steps:

  1. Navigate to the Sandbox OAuth login page with the api_key
  2. A successful login comes back with a request_token to the registered redirect URL
  3. POST the request_token to /oauth/authorize
  4. Obtain the access_token and use that with all subsequent requests

📘

You must enable and configure OAuth options under API key's settings on dashboard in order to use the workflow.

📘

An optional redirect_url param can be appended to Sandbox OAuth login endpoint, that will be used to navigate user after successful login attempt. Redirect URL request parameter must be Base64 encoded, eg: https://quicko.com will used like https://oauth.quicko.com/login?api_key={api_key}&redirect_url=aHR0cHM6Ly9xdWlja28uY29t