Embedding hipchat within our application

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 vote
Daniel Wester Community Champion Jun 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.

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Tuesday in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

134 views 3 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you