Umbraco with Keycloak

Hi, has anyone encountered a similar problem? When integrating Keycloak with Umbraco, after logging in, a session loop occurs after authorization in Keycloak, which causes an infinite number of redirects back to Keycloak (umbraco - keycloak - umbraco - keycloak - never ending story). The Auth cookie is created. OIDC doesn’t forward the logged-in user to the Umbraco backend.

Infrastructure: umbraco(80)-F5(443)-F5(443)-keycloak(80). I have forwarder headers with port 443, etc. The context.scheme is https .

Keycloak 2 6. 3

Umbraco 1 7.4.3