How to use nango.dev with PBX OAuth 2.0

This document describes what configuration is required to use nango.dev with PBX OAuth 2.0.

Created: October 2024

Permalink: https://wildix.atlassian.net/wiki/x/AYCsMw

Introduction

You can use nango.dev to work with PBX OAuth 2.0. For this, follow the setup instructions below.

Setup

  1. Go to WMS -> PBX -> Integrations -> Applications

  2. Proceed to OAuth 2.0 tab and add a new OAuth 2.0 application

nango_1.png

3. Go to nango.dev and log in

  1. In nango, on the Integrations tab click + Configure New Integration:

nango_20.png
  1. Search for Wildix PBX integration:

  1. Fill in the fields:

    1. ClientID: copy and paste Application ID from step 2 of this instruction

    2. ClientSecret: copy and paste Secret Key from step 2

    3. Scopes: all

  1. Copy callback URL from step 6 and paste it in your OAuth2 application in the WMS:

Save changes for OAuth 2.0 application in WMS.

  1. Save your new provider in the nango.dev and create new connection for it. Click + Add connection on the Wildix PBX integration page:

  1. Fill in the following fields:

    1. Select your new provider in the Integration Unique Key (1)

    2. Add name for Connection ID (2)

    3. Add subdomain of your PBX, without “.wildixin.com” (3)

10. Start OAuth flow and authorize to your PBX:

  1. You now have a stable OAuth 2 connection to your PBX with an automatically updated access token. You can copy access token for test PBX API.

You can use the Nango API to get the latest access token for your PBX.