mirror of
https://github.com/dat515-2025/Group-8.git
synced 2026-03-22 06:57:47 +01:00
feat(oauth): add to env
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user