netadm/authentication/transport.py

9 lines
179 B
Python
Raw Normal View History

2024-10-02 10:25:16 +00:00
from fastapi_users.authentication import BearerTransport
from config import settings
bearer_transport = BearerTransport(
# TODO: update url
tokenUrl="auth/jwt/login",
)