From dd729712522e2e3dad1e8fa0285ddc9e28b1aa35 Mon Sep 17 00:00:00 2001 From: kittapath Date: Tue, 21 Jan 2025 12:12:29 +0700 Subject: [PATCH] add KC_REALMS --- src/controllers/CommandController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index 48f906dc..2e18f0d1 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -1270,7 +1270,7 @@ export class CommandController extends Controller { // get admin token const response = await axios.post( - `${process.env.KC_URL}/realms/${process.env.KC_REALM}/protocol/openid-connect/token`, + `${process.env.KC_URL}/realms/${process.env.KC_REALMS}/protocol/openid-connect/token`, postData, { headers: {