This is to address the issue with becoming unauthorized every ~3 hours as noted in #14. The line where the token, minus 60 seconds, is used to compare to the current time is rather arbitrary. I am simply trying to add a buffer value so that we do not end up in a situation where the token is about to expire. I am certainly open to better alternatives.
This is to address the issue with becoming unauthorized every ~3 hours as noted in #14. The line where the token, minus 60 seconds, is used to compare to the current time is rather arbitrary. I am simply trying to add a buffer value so that we do not end up in a situation where the token is about to expire. I am certainly open to better alternatives.