Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hey guys,
I implemented a service which get an access token and a refresh token. I can use my access token to access the API I want, but I need to reload manually my service each 3hours to got a new access token. I'm new with that kind of technology and I want to know the best way to implement a service to use my refresh token. Does I need to create a new thing ? a timer things ?
You guys already help me a lot, thanks for everything I hope you could help me again.
Guillaume
Solved! Go to Solution.
Yeah, I would use a timer. You can set it to go off every 3 hours on the configuration tab, and then subscribe to it on the thing where you have the service and do whatever you need to do to refresh the token.
Hope this helps!
Yeah, I would use a timer. You can set it to go off every 3 hours on the configuration tab, and then subscribe to it on the thing where you have the service and do whatever you need to do to refresh the token.
Hope this helps!
I hope it will works, I'll tell you in three hours
Hello,
Can you post how you did it.
I'am getting the same problem and it would be helpful if you show us how.
Thank you
Amal