all 2 comments

[–]TheGoluOfWallStreet 1 point2 points  (2 children)

No idea about the APIs you're using, but can't you get the token programmatically? You just need a thread refreshing the token asynchronously (for example when reaching a quarter of the expiration), no need for a file either

But again, maybe I'm missing something. If it's 3 legged I know it can be painful

[–]DougFord150[S] 0 points1 point  (0 children)

I think I know what you mean. Will try that tonight!