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


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 vote

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.



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...

462 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