netadm/authentication/transport.py

9 lines
179 B
Python

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