microsoft / Partner-Center-Java

Partner Center SDK for Java
https://docs.microsoft.com/java/partnercenter/
31 stars 12 forks source link

Increase expiry buffer #69

Closed msize closed 5 years ago

msize commented 5 years ago

We often faced with the issue when authentication token expiring at 1 minute early. It always happens when we fetching utilization records for a long period. The token is given for to 1 hour but after 59 minutes we getting authentication error: 401 Unauthorized access. I would like to increase the expiry buffer from 30 seconds to 2 minutes.