DESDEO icon indicating copy to clipboard operation
DESDEO copied to clipboard

Add refresh api

Open maihoangbichtram opened this issue 5 months ago • 1 comments

  • Add route /refresh to check validity of refresh token and to fetch user's data

  • Move content of func get_current_user() to authenticate_token() for the route /refresh to be able to make use of. get_current_user() requires token from fastapi.security.OAuth2PasswordBearer, which is not the case in route /refresh

maihoangbichtram avatar Sep 18 '24 09:09 maihoangbichtram