pepkit / pephubclient

A tool to provide Python and CLI interface and Python API for PEPhub.
https://pephub.databio.org
BSD 2-Clause "Simplified" License
3 stars 0 forks source link

jwt as an object with expiry date #17

Closed khoroshevskyi closed 8 months ago

khoroshevskyi commented 1 year ago

It might be nice to store jwt as an object with an expiry date so we know when to nullify it and request a new login.

By @nleroy917

khoroshevskyi commented 1 year ago

If jwt is expired, PEPhub return code 500 (Internal Server Error server). Add functionality that prevents it.

khoroshevskyi commented 1 year ago

I didn't have this issue again so I assume it is fixed on server side

khoroshevskyi commented 9 months ago

This issue is not solved.