From 1f962dbef734106988d288847e43ce5f1e32d8c6 Mon Sep 17 00:00:00 2001 From: Evilham Date: Thu, 28 Jul 2022 18:28:22 +0200 Subject: [PATCH] [sso-admin] Fix secret handling in check script --- dd-sso/admin/src/tests/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dd-sso/admin/src/tests/api.py b/dd-sso/admin/src/tests/api.py index d02b45c..e2ed963 100644 --- a/dd-sso/admin/src/tests/api.py +++ b/dd-sso/admin/src/tests/api.py @@ -29,8 +29,8 @@ import requests from jose import jwt ## SETUP -domain = "admin.[YOURDOMAIN]" -secret = "[your API_SECRET]" +domain = f"admin.{ os.environ['DOMAIN'] }" +secret = os.environ['API_SECRET'] ## END SETUP