I have create microservice jhipster application with keycloak for auth and separate front end from gateway. In dev mode work fine. In prod mode i use nginx for front end. UI redirect to keycloak for login but at the end i was redirect to login?error.
This is the chain and nginx / keycloak / gateway not have any log about:
http:///oauth2/authorization/oidc -> this return 302 to -> http://keycloak:9080/auth/realms/jhipster/protocol/openid-connect/auth?response_type=code&client_id=web_app&scope=openid%20address%20email%20jhipster%20microprofile-jwt%20offline_access%20phone%20profile%20roles%20web-origins&state=tJECXsyzwkgNbXwdcPV0EQW_Wk9oEv-FeEPwV00WB4Y%3D&redirect_uri=http:///login/oauth2/code/oidc&nonce=2OF1Ex7Sg9HYBGpH4L7Wy56LsimY4fENrfbfPsSR3Dw -> this redirect to -> http://sviluppo.panda.local/login?error