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

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
Community showcase
Published Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

484 views 1 10
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