document:
  dsl: '1.0.0-alpha5'
  namespace: test
  name: openid-authentication-client-credentials-params
  version: '0.0.7'
do:
  - getPet:
      call: http
      with:
        method: get
        endpoint:
          uri: http://localhost:8881/hello
          authentication:
            oidc:
              authority: http://localhost:8888/realms/test-realm/protocol/openid-connect/token
              grant: client_credentials
              request:
                encoding: application/json
              client:
                id: ${ .clientId }
                secret: ${ .clientSecret }
              issuers:
                - http://localhost:8888/realms/test-realm
