mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #6384] issue: OIDC login fails - Boolean variables are not accessed correctly #53009
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 @nodomain on GitHub (Oct 24, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/6384
Bug Report
Installation Method
Docker (AWS ECS)
Environment
Confirmation:
Expected Behavior:
Login via OIDC EntraID works
Actual Behavior:
Internal Server Error happens.
Description
Bug Summary:
Boolean variables are not accessed correctly
Reproduction Details
Steps to Reproduce:
Set the needed OIDC variables in the ECS Task Definition e.g.
Logs and Screenshots
Additional Information
The boolean values seem to be accessible without ".value" and hence the call fails.
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@nodomain commented on GitHub (Oct 24, 2024):
Console logs:
@tjbck commented on GitHub (Oct 24, 2024):
@Cyb4Black
@nitinkr0411 commented on GitHub (Oct 25, 2024):
same issue
@tjbck commented on GitHub (Oct 25, 2024):
PR Welcome!
@nodomain commented on GitHub (Oct 25, 2024):
Already getting familiar with it ;)
@brantje commented on GitHub (Oct 25, 2024):
If i remember correctly, on dev branch before the release, oauth login was broken, even with the booleans set.
Once a PR is ready i'll gladly test it. Since it seems @nodomain is already working on it :).
@nodomain commented on GitHub (Oct 25, 2024):
I think i fixed it, at least works for me...
Since I am totally new to the codebase, I appreciate feedback...
@Cyb4Black commented on GitHub (Oct 25, 2024):
Yes, the .value calls both need to be removed. They were actually already present before my larger OAuth changes. I'm pretty sure I removed them while coding, but it seems that some copy-pasting from the old function into my rework brought them back 😅.
So, #6392 is correctly fixing this.
Edit:
Just checked, Had them removed in the past, as I'm currently running an image from an intermediate commit in our productive cluster and it works just fine.
@tjbck commented on GitHub (Oct 25, 2024):
Seems to have been resolved, 0.3.34 will be released shortly! Thanks everyone!