from fastapi_users.authentication import BearerTransport from config import settings bearer_transport = BearerTransport( # TODO: update url tokenUrl="auth/jwt/login", )