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

Update glance - Expired JWT python

We have integrated hipchat with our application. For update glance call we are getting expired JWT from HipChat which is very strange. Can anyone help why we are getting this issue?

 

 

2 answers

Hi Tannu,

 

Look at this page, it'll explain you what is a JWT Token :smile:

https://developer.atlassian.com/hipchat/guide/jwt-token

Thanks Damien

I already check the above link and already followed the example mentioned in the link. Integration with HipChat works fine but sometimes it is throwing expired JWT error which is strange. We are not sure in which timezone HipChat sent the expiration time. I am assuming it is in UTC which is standard and we are using UTC time to check expiration at our end.

 

0 votes
Anatoli Atlassian Team Jun 13, 2016

Hi Tannu,

It is strange, we never heard people mentioning (or experienced ourselves) the problem you describe.

I assume you are talking about the initial retrieval of glance data and the request that HC issues has expired JWT token. What framework are you using to process the token (in case it is a problem with the framework)? What is your add-on, is it public?

Hi Anatoli,

We are using python and django framework. We are using jwt library and it seems to have pretty much standard implementation for any JWT. So it is very surprising that we are getting this error.

Thanks,

Tannu 

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,198 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