I have configured opendistro with keycloak. As per requirement i have a user which is assigned with multiple roles in keycloak (50roles). So, when i’m trying to access kibana with this user, i’m getting multiple redirections. And at inspector console it is showing cookie size exceeds to its limit.
Then from keycloak token cookie i have removed refresh token and used only id token. Able to login after that , but without refresh token window is reloading simultaneously.
i have tried by reducing the roles and able to login but as mentioned earlier in issue, assigning those roles to the user is my requirement so can’t reduce them.
Because on opendistro official documentation i haven’t seen any point defining maximum number of roles limit that can be assigned per user while using openid auth with opendistro.
If there is any other solution for reducing the cookie size while keeping those roles, will be a great help.