Skip to content

Add Genesys iframe example files for agent assist embed security - #28

Open
devinturner-ibm wants to merge 3 commits into
mainfrom
agent-assist-files-public
Open

devinturner-ibm wants to merge 3 commits into
mainfrom
agent-assist-files-public

Conversation

@devinturner-ibm

@devinturner-ibm devinturner-ibm commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Adds example server-side files for embedding watsonx Orchestrate agent assist inside a Genesys application using OAuth Authorization Code Grant with PKCE.

What's included

  • src/server.js — Express server with a /createJwt endpoint
  • src/create-jwt.js — Exchanges a Genesys OAuth code for a signed RS256 JWT
  • static/agentAssistEmbed-genesys.html — Outer iframe that handles the PKCE OAuth flow
  • static/agentAssistEmbed.html — Inner iframe that loads the wxO agent assist dashboard
  • keys/ — Example RSA key pair for local testing (not for production use)
  • package.json — Node.js dependencies

Notes

  • Example keys are for local development only — customers should generate their own keypair
  • ALLOWED_ORG_IDS in create-jwt.js must be updated with the customer's Genesys org ID before use
  • These files are intended to be linked from product documentation

Comment thread agent-assist/genesys-iframe/src/create-jwt.js Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants