Embedding hipchat within our application

Jeetendra Kumar June 21, 2017

We have an application which is used for monitoring purposes. We wanted to embed hipchat within our application as a widget so that it can be used as a collaboration platform within the company. Also, what we did like to do is to save the transcript/conversation that the end users had from time to time.
For this, we thought of using embedded hipchat plugin & REST APIs for getting the messages & saving it in out DB.
We explored this options in the Hipchat cloud but found that it has some limitations.
Just wanted to check out options on the server version if we can overcome these limitations -


1. Embedding Hipchat within our application as an iFrame does not render because the Hipchat rejects the request stating it as a cross-origin. Can the request URLs be configured in the Hipchat server whitelisting the request URL?


2.  SSO - We want to seamlessly sign in the user into hipchat when the user logs into the main application. Does server version provide this capability?


3. REST API - Does Hipchat server version provides REST APIs to GET the messages?

1 answer

0 votes
Daniel Wester
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 21, 2017

Have you looked at https://blog.hipchat.com/2013/08/20/embedding-hipchat/ ?

As far SSO - Server support SAML: https://confluence.atlassian.com/hc/connecting-to-a-saml-identity-provider-for-single-sign-on-872127764.html

 

For the REST API: It's the same rest api as the cloud version.

Jeetendra Kumar June 22, 2017

Hi Daniel, Thanks for your reply! I did take a look at those options. Embedding hip chat does not work if you're not logged in. It fails with the error - Refused to display 'https://xxx.hipchat.com/sign_in?d=%2Fchat%3Fanonymous%3D1%26timezone%3DMST%26minimal%3D1' in a frame because it set 'X-Frame-Options' to 'sameorigin'. It's basically hipchat rejects the request if it is from a different domain. On the cloud hipchat version we don't have an option of whitelisting the URL / domain from where the request is originated from. Just wanted to check if this is available on the server version. 

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events