You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using latest version of flask-oidc in combination with Superset and Keycloak. Created session cookie contains basically everything returned from Keycloak and it's really close to 4kB. Problem is when user has more attributes in Keycloak (such as groups, etc.), then there is possibility that session cookie will be bigger than 4kB and browser will not process it (as the limit for cookies is 4kB), you cannot login because of it.
I solved the issue by downgrading flask-oidc to v1.3.0. This version creates only small session cookie (around 300 bytes, containing just flask information) and separete oidc_id_token cookie (around 1kB). I found it out completely random 😀
I was using latest version of flask-oidc in combination with Superset and Keycloak. Created session cookie contains basically everything returned from Keycloak and it's really close to 4kB. Problem is when user has more attributes in Keycloak (such as groups, etc.), then there is possibility that session cookie will be bigger than 4kB and browser will not process it (as the limit for cookies is 4kB), you cannot login because of it.
I solved the issue by downgrading flask-oidc to v1.3.0. This version creates only small session cookie (around 300 bytes, containing just flask information) and separete oidc_id_token cookie (around 1kB). I found it out completely random 😀
Example session cookie content:
The text was updated successfully, but these errors were encountered: