add KC_REALMS

This commit is contained in:
kittapath 2025-01-21 12:12:29 +07:00
parent 6c9b781f76
commit dd72971252

View file

@ -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: {