main
py 14 lines 561 Bytes
Raw
1 from fastapi import APIRouter
2
3 from app.auth.routes.auth import auth_router
4 from app.auth.routes.customer_users import customer_users_router
5 from app.auth.routes.sso import sso_router
6 from app.auth.routes.totp import totp_router
7
8 # Instantiate the APIRouter
9 router = APIRouter()
10
11 router.include_router(auth_router, prefix="/auth", tags=["auth"])
12 router.include_router(customer_users_router, prefix="/auth", tags=["customer_users"])
13 router.include_router(sso_router, prefix="/auth", tags=["sso"])
14 router.include_router(totp_router, prefix="/auth", tags=["2fa"])