It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 https://developer.atlassian.com/hipchat/tutorials/building-an-add-on-with-your-own-technology-stack) 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
rich Atlassian Team Mar 23, 2016

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 Sign up to answer
TAGS
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,225 views 9 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you