Keycloak as ADFS SP returns Login Timeout

Hi! I’m trying to use keycloak as a SP of ADFS. It seems to work but when I log in it appears every time the page " We are sorry… Login timeout. Please log in again.".

If I refresh the page it redirects me on the correct page.

When I log in without keycloak I have not the problem.

Keycloak is running on docker with the TZ environment set.

Anyone could help?