431 - Can't logout with access token

Hi everyone. I am new to this forum.

I have synced LDAP users to Keycloak and I can use those users normally, but…there is one account that have a lot of values for “memberOf” attribute and when that user tries to logout, I get 431 status code.

My question is, can I somehow exclude unwanted memberOf attributes from that user inside Keycloak, but not to touch Active Directory? I would like to keep only 2 values for “memberOf” attribute out of possible 100.

I am using Keycloak (bitnami) in Docker (latest version).

Thank you.