Skip to content

Bind a Third-Party Authentication Provider

This guide provides information on how to bind third-party authentication provider using the REST API.

This is the step for binding third-party authentication provider.

  1. Authenticate with the third-party authentication provider.

    There should be a package that handles authentication with the third-party provider in the tool you are working on.

    The data required for the third-party authentication provider includes:

    • The unique identifier of the account (e.g., Facebook ID)
    • The authentication token provided by the third-party provider
  2. Bind the third-party authentication provider to a Capturit account

    To bind the third-party authentication provider to a Capturit account, call the POST account/bind/auth-provider endpont.

    Ensure that you include the required fields in the request body before submitting the request.

    {
    "auth_provider": 0,
    "auth_unique_identifier": "string",
    "auth_provider_token": "string"
    }
    • If the binding/unbinding is successful, the response status code will be 200 (OK).
    • If the binding/unbinding is unsuccessful, the response status code will be 400 (Bad Request), and the details will be included in the response.