Samuel_Polgar | 2018-10-27 21:55:40 UTC | #1
Dear PureCloud Developers
I am using the node.js package purecloud-platform-client-v2 and wondering where we set the environment variables?
For example, do we edit the npm library and add our clientId, clientSecret and call back Uri as below?
Your assistance will be very much appreciated!
import superagent from 'superagent';
var clientId = "XXXX"; var clientSecret = "XXXX"; var redirectUri = "http://localhost:8080";
/**
- @module purecloud-platform-client-v2/ApiClient
- @version 39.0.0
anon28885283 | 2018-10-29 03:23:17 UTC | #2
This page should contain the code snippets for authenticating and setting up the environment variables
https://developer.mypurecloud.com/api/rest/client-libraries/javascript/
Samuel_Polgar | 2018-10-30 03:28:41 UTC | #3
Hello PrinceMerluza
Thank you very much for pointing me in the right direction.
system | 2018-11-30 03:28:42 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 3833