MolSSI / QCFractal

A distributed compute and database platform for quantum chemistry.
https://molssi.github.io/QCFractal/
BSD 3-Clause "New" or "Revised" License
143 stars 47 forks source link

Fix handling of JWT refresh tokens #783

Closed bennybp closed 8 months ago

bennybp commented 8 months ago

Description

The logic should be switched such that refresh tokens are checked before access tokens.

In addition, a 401 error representing an expired refresh token should be handled properly.

Changelog description

Fix handling of refresh tokens in qcportal client

Status