How to build an extension without being forced to make our servers available from outside.

We try to migrate an application we used with Slack to work with Hipchat. The application runs behind the firewall, so the callbackUrl  (mentioned on is not reachable from outside.

The callbackUrl in the descriptor seems to be optional - so at least the descriptor is shown as valid without providing a callbackUrl.

But where can I get the oauth id  and get/change the oauth secret ?



2 answers

1 vote

First, a few questions...

  1. Are you using HipChat Cloud or Server?
  2. What will your add-on do?

If you're porting from Slack, I'm guessing you'd like to build a slash command that sends notifications back into a room. If that's correct, then you can actually build an add-on that doesn't require an oauth token. You can simply send a reply back to the webhook HipChat fires to you.

Re: making your servers available from the outside... if you're using HipChat Server, then you can run everything inside your firewall as long as HipChat Server has access to your service.

  1. We're using HipChat cloud
  2. Our addon allows to include chat messages in a global search.  So it must be executed in the security context of different users. AFAIK that's only possible with OAuth2.


So I "only" need to get the oauth id and secret in the web interface. But I can't find it. 

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Published Oct 07, 2017 in Hipchat

Bringing Structure to your HipChat Instance

...have mention name FirstnameLastname. Fe.: @MaartenCautreels This certainly helps to know who is being mentioned in a conversation. Imagine your colleague sends the following message...

469 views 1 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot