mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[GH-ISSUE #19415] issue: v0.6.37 breaks Okta OAuth: "Cannot supply multiple client credentials" error #105863
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @WonwooKang on GitHub (Nov 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19415
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.37
Ollama Version (if applicable)
No response
Operating System
macOS Tahoe 26.1
Browser (if applicable)
Chrome 142.0
Confirmation
README.md.Expected Behavior
Login via Okta should be successful.
Actual Behavior
Despite not using an email address or password, the following error message appears and the login attempt fails.
"The email or password provided is incorrect. Please check for typos and try logging in again."
Steps to Reproduce
First, let me share the case where I was able to get it working through a manual modification.
File:
backend/open_webui/utils/oauth.pyLine: ~1283
Git Diff Link : https://github.com/open-webui/open-webui/pull/19132/files#diff-18f89641054f18680b1073ddaf7fb3e8d5b193533ee6dd79b89b60477d2dca61R1235
Change:
After this change, the login succeeded.
running steps
Logs & Screenshots
Docker Container Log summary
According to an AI analysis, it seems that Open WebUI sends client_id and client_secret in both the Authorization header and the POST body simultaneously.
Since Okta only allows one method, it appears to reject the request.
Screen Shot
Additional Information
No response
@tjbck commented on GitHub (Nov 24, 2025):
@WonwooKang Could you confirm this isn't caused by a misconfiguration from Okta-end?
@Classic298 are you seeing something like this?
@Classic298 commented on GitHub (Nov 24, 2025):
I am not using okta
@WonwooKang commented on GitHub (Nov 24, 2025):
@tjbck The Okta settings I’m using are the same ones I’ve had configured since earlier versions,
and everything worked fine up to v0.6.36,
so I reported this as an issue first.
I’ll also try adjusting various Okta settings on my side to see if anything changes.
@tjbck commented on GitHub (Nov 24, 2025):
Might've been addressed in dev, confirmation wanted here!
@WonwooKang commented on GitHub (Nov 24, 2025):
It’s likely that Okta is strictly adhering to the OAuth specification,
and according to RFC 6749 Section 2.3: link
‘The client MUST NOT use more than one authentication method in each request.’
Based on this, I suspect this may be the root cause of the issue.
I don’t know the full details of the OpenWebUI internals, but based on an AI analysis,
Authlib seems to add the parameters passed through auth_params into the request body,
while the default behavior of ClientAuth is to include the credentials in the header.
If that’s correct..
the combined behavior might be violating the RFC 6749 requirement.
@tjbck commented on GitHub (Nov 24, 2025):
@WonwooKang could you try pulling the latest dev?
@WonwooKang commented on GitHub (Nov 24, 2025):
@tjbck I also tried switching the image to
image: ghcr.io/open-webui/open-webui:dev,but the behavior appears to be the same.
Is there another image tag I should be using instead?
@WonwooKang commented on GitHub (Nov 24, 2025):
I’ll give it another try.
@tjbck commented on GitHub (Nov 24, 2025):
@WonwooKang you might've pull the outdated dev image, let me know if the current latest still raise an error.
@WonwooKang commented on GitHub (Nov 24, 2025):
@tjbck I confirmed the version using the temporary code change,
but the issue still seems to persist.
and..
version check

Reverting the change and checking again results in the same warning.
@tjbck commented on GitHub (Nov 24, 2025):
@WonwooKang You're using the latest
ghcr.io/open-webui/open-webui:devimage correct?@tjbck commented on GitHub (Nov 24, 2025):
Related: https://github.com/open-webui/open-webui/pull/19132
https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.3
@tjbck commented on GitHub (Nov 24, 2025):
@WonwooKang
0f8729dea2should address it, will push 0.6.38 with your confirmation@WonwooKang commented on GitHub (Nov 24, 2025):
@tjbck Yes, I’m using the ghcr.io/open-webui/open-webui:dev image tag.
I’ve already cleared the volumes three to four times and restarted everything.
I also tried one more time just before writing this comment,
and the behavior still seems to be the same. 😭
@WonwooKang commented on GitHub (Nov 24, 2025):
@tjbck I just reset everything once more and tested again, but it still seems to be the same.

@tjbck commented on GitHub (Nov 24, 2025):
@WonwooKang you may want to wait a bit, the images are still being built.
@jamesmoore commented on GitHub (Nov 24, 2025):
I was getting this error with Authelia:
The latest dev image fixed it for me. Thank you.
@WonwooKang commented on GitHub (Nov 24, 2025):
@tjbck Oh, after seeing the comment above and trying it again,
it worked on my side as well.
Thank you for resolving this so quickly! 🙌