Open emanuelen5 opened 2 years ago
Token might expire directly after the check, but before an API call has been made. https://github.com/makerspace/makeradmin/blob/master/api/src/multiaccessy/accessy.py#L211
It would be better to check that it is valid at least some time forward from now on, so that it can be refreshed beforehand in case it is needed.
Token might expire directly after the check, but before an API call has been made. https://github.com/makerspace/makeradmin/blob/master/api/src/multiaccessy/accessy.py#L211
It would be better to check that it is valid at least some time forward from now on, so that it can be refreshed beforehand in case it is needed.