OIDC does not work with multiple replicas #3548

Closed
opened 2025-11-11 15:33:42 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @bhargav2427 on GitHub (Feb 3, 2025).

Bug Report

I deployed open web ui using helm charts on Kubernetes. If we set multiple replicas with OIDC login. It does not work. It gives below error.

mismatching_state: CSRF Warning! State not equal in request and response.

And, this issue is because of OIDC token was stored in a only one pod. If request goes to another pod, it does not have token and thats why give above error. Is there any way to fix it?


Installation Method

Kubernetes

Expected Behavior:

OIDC should work with more than one pod.

Actual Behavior:

OIDC authentication is not working with more than one pod.

Originally created by @bhargav2427 on GitHub (Feb 3, 2025). # Bug Report I deployed open web ui using helm charts on Kubernetes. If we set multiple replicas with OIDC login. It does not work. It gives below error. ``` mismatching_state: CSRF Warning! State not equal in request and response. ``` And, this issue is because of OIDC token was stored in a only one pod. If request goes to another pod, it does not have token and thats why give above error. Is there any way to fix it? --- ## Installation Method Kubernetes ## Expected Behavior: OIDC should work with more than one pod. ## Actual Behavior: OIDC authentication is not working with more than one pod.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#3548