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
Go to WMS -> PBX -> Integrations -> Applications
Proceed to OAuth 2.0 tab and add a new OAuth 2.0 application
3. Go to nango.dev and log in
In nango, on the Integrations tab click + Configure New Integration:
Search for Wildix PBX integration:
Fill in the fields:
ClientID: copy and paste Application ID from step 2 of this instruction
ClientSecret: copy and paste Secret Key from step 2
Scopes: all
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.
Save your new provider in the nango.dev and create new connection for it. Click + Add connection on the Wildix PBX integration page:
Fill in the following fields:
Select your new provider in the Integration Unique Key (1)
Add name for Connection ID (2)
Add subdomain of your PBX, without “.wildixin.com” (3)
10. Start OAuth flow and authorize to your PBX:
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.