Keycloak request with grant type as client credentials

Hi Team

Is anyone tested, keycloak token API with grant type as client credentials using K6?

I need some reference on how to send and capture the access token in K6

Thanks in advance
Hemanth SD

Hi @Hemanth,
a community user has created a repository for testing Keycloak, you can check the logic applied there and use the endpoints in the same way as other identity platforms for OAuth and OpenID. We have an example in the k6’s documentation.

1 Like