Get token by client credentials using keycloak-nodejs-connect

Hello

I faced a problem authorizing microservices via GitHub - keycloak/keycloak-nodejs-connect - I just can’t find a way to get access token using client id and client secret.

At the same time I used python-keycloak, which allows to get access token using this code

keycloak_openid = KeycloakOpenID(server_url='http://localhost:8080/auth/',
                             client_id='test-client-service',
                             realm_name='test',
                             client_secret_key='secret')

token = keycloak_openid.token(grant_type='client_credentials')`

Is there any way to do the same request with nodejs lib?