We use keycloak IAM to authenticate API requests, ...
# e2e-testing
l
We use keycloak IAM to authenticate API requests, for some reason I could no succeed connecting to keycloak to get the access token needed to make API calls. I tried the following 1) cy.request() which is replicating the way we fetch the access token in Postman and it throws 415 error as cypress does not allow passing a header section in cy.request() 2) cy.exec() to replicating the way we fetch the access token from cmd and it does not work either 3) Also stumbled upon cypress-keycloak plugin but could not get it working.