mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 07:43:10 -05:00
feat: Fetch OIDC claims in the pipeline #5157
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 @aakritichoudhary on GitHub (May 13, 2025).
Check Existing Issues
Problem Description
I am using OpenWebUI v0.6.5 with OIDC OAuth for SSO. I want to fetch my OIDC claims in the pipeline.
My inlet looks like -
Output Log of the pipeline -
Claims passed in the .env -
Desired Solution you'd like
I would want to return all the scopes and claims passed in the user inlet. One way I tried was to modify the inlet code in the open-webui code (not the pipeline code), but that did not help.
Please let me know if there are any other issues that I can look to, have looked at most of them but no luck.
TIA!
Alternatives Considered
No response
Additional Context
No response
@aakritichoudhary commented on GitHub (May 14, 2025):
Modified few files to get claims via the
GET /api/v1/authsendpoint, but only extra field that is coming is oauth_sub, not other field. If I can get other OIDC claims in this endpoint, it will be helpful.