a2cps / vbr-app

Virtual Biospecimen Repository Web Service API
Other
0 stars 0 forks source link

Authentication stops working after an unknown number of hours #23

Closed mwvaughn closed 2 years ago

mwvaughn commented 2 years ago

After authenticating to the service, valid tokens are rejected when presented as Oauth Bearer tokens. The same tokens are valid when presented directly to the underlying Tapis service. Restarting the service resolves this until it happens again. We hypothesize this is due to the use of the functools lru_cache to cache API clients.

mwvaughn commented 2 years ago

Fixed in 71672e6aeb912e7b9a18b9a6564f4d765d2e1207