remove dupes

This commit is contained in:
pablonyx
2025-03-13 15:47:33 -07:00
parent 3ba554843c
commit 185aa07526
2 changed files with 0 additions and 14 deletions

View File

@ -131,13 +131,6 @@ def get_application() -> FastAPI:
prefix="/auth",
)
# Add refresh token endpoint for OIDC
include_auth_router_with_prefix(
application,
fastapi_users.get_refresh_router(auth_backend),
prefix="/auth",
)
elif AUTH_TYPE == AuthType.SAML:
include_auth_router_with_prefix(
application,

View File

@ -360,13 +360,6 @@ def get_application() -> FastAPI:
prefix="/users",
)
# Add refresh token endpoint
include_auth_router_with_prefix(
application,
fastapi_users.get_refresh_router(auth_backend),
prefix="/auth",
)
if AUTH_TYPE == AuthType.GOOGLE_OAUTH:
# For Google OAuth, refresh tokens are requested by:
# 1. Adding the right scopes