Open mihiragrawal opened 1 week ago
/transfer dashboard
I did some initial investigation and it seems the error occurs when ID token length is longer than 4096 because dashboard saves the ID token in cookie and maximum allowed size for cookies is 4096 bytes.
What happened?
When certain users attempt to log in to Kubermatic, they are redirected back to the dashboard page without successfully logging in. This issue appears to affect users who are members of multiple groups in Microsoft. The setup uses Dex integrated with Microsoft as the authentication connector.
Upon investigation, we observed that the nonce cookie value differs between the one sent from the dashboard and the value present in the ID token, which may be causing authentication failures for these users.
Expected behavior
Affected users should be successfully logged into Kubermatic without being redirected back to the dashboard, with consistent nonce values between the dashboard and the ID token.
How to reproduce the issue?
How is your environment configured?
Provide your KKP manifest here (if applicable)
What cloud provider are you running on?
Vsphere
What operating system are you running in your user cluster?
Ubuntu 20.04
Additional information
The Dex Helm values configuration may be relevant to diagnosing the issue. Below is the relevant configuration: