Keycloak + expressJs, credentials secret not working

Hi, i have problem with keycloak and expressJs service. I have configured keycloak and add new client and select Access Type : confidential. Then i have created expressJs app and implement keycloak-connect lib. My issue is that when i remove credentials: { secret : “supersecret123”} property from keycloak.json file it’s vaild request instead of deny access becouse secret is invalid