Support/Live Chat/Web Client/Kitsune integration: Difference between revisions

(Created page with 'Proposal for integrating Live Chat with Kitsune ==Step 1: routing traffic (needs IT approval)== Ajax requests to a backend server is used for all communication to and from Live …')
 
Line 17: Line 17:
===Java implementation proposal===
===Java implementation proposal===


Fork app.jsp to create __api.jsp__ which will accept the following JSON-encoded variables from Kitsune
Fork app.jsp to create '''api.jsp''' which will accept the following JSON-encoded variables from Kitsune
* username: the pre-authenticated UTF8 SUMO username
* username: the pre-authenticated UTF8 SUMO username
* template: always "agent"
* template: always "agent"
Line 27: Line 27:
*sessionID: session identifier
*sessionID: session identifier
*key: session key
*key: session key


===Kitsune implementation proposal===
===Kitsune implementation proposal===
* When a user launches live chat, get a sessionID and key using a HTTPS request to chat-support.mozilla.com
* When a user launches live chat, get a sessionID and key using a HTTPS request to chat-support.mozilla.com
* Execute the javascript function: app.init(sessionID, key)
* Execute the javascript function: app.init(sessionID, key)
canmove, Confirmed users
382

edits