Hi Niko,
Sorry for creating the confusion.
Actually I am not satisfied with the answer. And the question is closed now.
I was able to connect with an Identity provider when the internet was provided to the kubernetes cluster, I am facing the issue when we disabled the internet access.
We are publicly accessing keycloak through application gateway, & we are able to get response from identity provider to keycloak it redirects to the endpoint which we provided to identity provider. facing issue with call back, Is there any way to make private or keycloak should not callback.