[keycloak-user] How can I disable the user caching?
Chandrashekhar, Nithin
Nithin.Chandrashekhar at Teradata.com
Tue Jan 15 16:22:48 EST 2019
Hello,
Keycloak version: 4.8.0.Final
Login as user ‘X’ who belongs to 10 groups in openldap. I can see that user with 10 groups in the keycloak dashboard.
I make this user part of one more group in openldap server. But in the keycloak dashboard, I don’t see this new group getting added for the user.
I know that the new group not getting updated behavior is due to the caching. When I tried to invalidate the cache using Cache Policy under User Federation,
I see that groups for the user ‘X’ gets updated but in the overall groups, the new group gets duplicated.
I saw some posts online where I can disable user cache by setting userCache attribute in standalone.xml to false and restarting keycloak (using ./jboss-cli.sh --connect and reload).
But when I try to reload keycloak, I see Failed to establish connection in 6033ms. So I am not very sure if keycloak reloaded and the changes I made had any effect or not.
Please advise me on how I can disable user caching or if I am doing something wrong.
Thanks
Nithin
More information about the keycloak-user
mailing list