FredHutch / motuz

Motuz - A web based infrastructure for large scale data movements between on-premise and cloud
MIT License
104 stars 12 forks source link

Fix login if refresh token is expired #404

Closed nathanthorpe closed 1 year ago

nathanthorpe commented 2 years ago

Add check for if refresh token is expired before trying to refresh it

Resolves #336

nathanthorpe commented 2 years ago

You can reproduce this bug easily by changing the access/refresh token expiry to 30 seconds in auth_manager.py L76/80