addon.checkValidToken() function is timing out on large file upload

I have a POST endpoint that is used to upload zipfiles. In cases where the file is large (~1GB). The addon.checkValidToken() function takes longer than the token length time (over 15mins) and eventually times out with response “Authentication request has expired”.
Is there a workaround for cases like this that I am missing

2 Likes