Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
How to solve session time out problem for the integrated apps?
charuhas_naigaonkar
Member Posts: 2 ✭
I am doing some activity and after certain time its force us to refresh.Our integrated app need this session time out to be soved
0
Answers
As Marc mentioned OAuth tokens need to be refreshed approximately every 60 minutes, the OAuth documentation in the Developer Portal covers the refresh process, some OAuth packages take care of all (or a lot) of the work required to refresh a token. So depending on your environment you may need to do a certain amount of work to refresh an OAuth token if an API call fails and then retry the API Call with the new & refreshed token.