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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tannu,
Look at this page, it'll explain you what is a JWT Token
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.