Issue: Getting "error":"invalid_grant","error_description":"Code not valid" error message in the process of automating the login page using KEYCLOAK application.
We are trying to automate the login processing using KEYCLOAK login page.
1) With a valid URL, launching the login page. It is generating unique code1 as a part of Get methode. In post methode, along with credentials, sending this unique code which i am able to capture using a Regular expression Extractor.
2) But here comes a problem where my application is again generating a code before logging in into the application, which is sent as a grant authorization permission code to the server as a validation process to access home page.
below are the Http request post method paramters which are generating after logging into the page and before accessing the main page.