Help with API authorization code

Greetings, working on deploy a work around launching from an "interaction widget" integration which displays to agents in the GUI. I've used Python in the past for all my API work, but have no experience using javascript with the Genesys API. I could use some help with the OAuth and opening pieces of the code attached.


The yellow highlighted I entered my best guess. On the purple highlight, I'm not sure what URL is being asked for. Appreciate any clarifications on the highlighted areas and any other variables I'll need to set.
-Marcus

Hi, you can find the authorization documentation here: https://developer.genesys.cloud/authorization/platform-auth/. The OAuth flows are exactly the same regardless of your choice of programming language.

You can find the JavaScript SDK documentation, which includes auth helpers, here: https://developer.genesys.cloud/devapps/sdk/javascript.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.