Attention Needed :
Dear Team, We are currently encountering an issue with the "purecloud-platform-client-v2" package when using implicit grant. The error message we are receiving is as follows:
"..\node_modules\purecloud-platform-client-v2\dist\node\purecloud-platform-client-v2.js:654 window.location.replace(url); ^ ReferenceError: window is not defined" ...\node_modules\purecloud-platform-client-v2\dist\node\purecloud-platform-client-v2.js:654:6 at processTicksAndRejections (node:internal/process/task_queues:96:5)
We understand that implicit grant is typically used for redirecting the URL in a browser. However, in our case, we are implementing OAuth in the backend using Node.js. If our understanding is incorrect, please provide us with the correct approach. Otherwise, we kindly request your assistance in resolving this issue. Below are the details for the client ID, client secret, and redirect URL: Client ID: 'XXXXXXXXXX' Client Secret: 'XXXXXXXXX' Redirect URL: http://localhost:4201 We appreciate your professional assistance and prompt resolution of this matter. Thank you for your attention. Best regards,