feat(oauth): add to env

This commit is contained in:
2025-10-21 22:08:00 +02:00
parent 2b640fc6ac
commit 91a32b2f10
6 changed files with 31 additions and 2 deletions

View File

@@ -12,8 +12,8 @@ from app.services.user_service import current_active_user
router = APIRouter(prefix="/auth/csas", tags=["csas"])
CLIENT_ID = "95082b91-ae16-4033-b850-c04d66274331"
CLIENT_SECRET = "175cf6ce-9ebe-435a-8a63-13b226663032"
CLIENT_ID = os.getenv("CSAS_CLIENT_ID")
CLIENT_SECRET = os.getenv("CSAS_CLIENT_SECRET")
CSAS_OAUTH = CSASOAuth(CLIENT_ID, CLIENT_SECRET)