Ping Fed Authentication via VPN

I am just running a simple synthetic monitor API Test, and trying to authenticate via call to Ping Fed to retrieve access token for further API calls. Since this requires access to VPN (whereas scripts running in NewRelic infrastructure would not have the same VPN access), I would like to know if there is any other alternative option to authenticate via Ping Fed?
I am using the following script:

const request = require(‘request’);
var options = {
//Define endpoint URI
headers: {
‘content-type’: ‘application/x-www-form-urlencoded’,
//Define body of POST request.

form: {grant_type:‘client_credentials’, client_id: ‘’, client_secret: ‘’}
$, callback);
//Define expected results using callback function.
function callback (err, response, body){
//Log JSON results from endpoint to Synthetics console.
console.log(‘done with script’);

Hi @Sumeet_Kumar2 -

have you looked at private minions?

Private minions run inside your network, so you won’t need the minion / monitor to connect to a VPN, you could just call PingFed directly to get your access tokens.