Avoid session/cookie based authentication for external IDP Authentication Flow

I am using Keycloak as an IDM in our project which is deployed in a clustered environment (Kubernetes Orchestration) and I am trying to implement a custom IDP flow using an external IDP Provider which is not one of the out of the box social login like Facebook or Git Hub etc. The problem is whenever the user trying to login through that IDP Provider login, the validation fails. Although the /auth, /token and /user-info calls are successful, but before storing the user, there is a Cookie Check which fails as the Cookie details are not present in request header or param. Kindly help in solving this issue.
How can we bypass the check cookie process or how can we add the cookie in the /auth, /token and /user-info call. Cookie is missing in these calls while this is expected. Is there any configuration to achieve this?.