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 can I get my Hipchat Integration on Heroku to authenticate?

I followed the step-by-step guide here.

I made a simple app that posts a message to the rooms the Integration is installed on per a regex (as described in the tutorial above).

When I initially add the Integration to a hipchat room, it works fine. However, after a period of time it stops working.

The following error appears in my Heroku logs:

JWT verification error: 400 Request can't be verified without an OAuth secret

I assume something with my configuration is wrong or my lack-of-use-of-OAuth, but after googling around I can't find any specific answers on what it should look like.

My config.json looks like this:

"production": {
    "usePublicKey": true,
    "port": "$PORT",
    "store": {
        "adapter": "jugglingdb",
        "type": "sqlite3",
        "database": "store.db"
    "whitelist": [

And my request handler looks like this:'/foo',
    function (req, res) {
      hipchat.sendMessage(req.clientInfo, req.identity.roomId, 'bar')
        .then(function (data) {

Any specific direction on configuration and use of Oauth for Hipchat and Heroku would be amazing!

Stack Overflow link.

1 answer

Three things I needed to do in order to fix my problem:

  1. Install the Heroku Redis add-on for my Heroku App. (confirm that the Environment Variable for ($REDIS_URL) was added to your app settings).
  2. Add this line to my app.js file:'redis', require('atlassian-connect-express-redis'));

  3. Change the object in the config.json to be the following:

    "store": { "adapter": "redis", "url": "$REDIS_URL" },

crivers Atlassian Team Mar 03, 2017

Thanks for posting the answer... hopefully it helps out other dev who might encounter the same stumbling block in the future!

Suggest an answer

Log in or Sign up to answer
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,207 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