mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 15:54:15 -05:00
[PR #3569] [MERGED] feat: Custom claims for OAuth #8083
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/3569
Author: @Semihal
Created: 7/1/2024
Status: ✅ Merged
Merged: 7/3/2024
Merged by: @tjbck
Base:
dev← Head:custom-openid-claims📝 Commits (5)
0c3f9a1custom env for set custom claims for openid9f32e9efix username claim6e934c2Merge branch 'refs/heads/main' into custom-openid-claimse475f02fix: merge request fail (remove picture_claim)a94c7e5fix lint📊 Changes
3 files changed (+21 additions, -2 deletions)
View changed files
📝
backend/apps/webui/main.py(+5 -0)📝
backend/config.py(+12 -0)📝
backend/main.py(+4 -2)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
The ability to use custom names obtained with OAuth (OpenID) for the username and picture (avatar) fields.
Documentation PR: https://github.com/open-webui/docs/pull/144.
Added
OAUTH_USERNAME_CLAIMfor set username claim from OAuth.OAUTH_PICTURE_CLAIMfor set avatar url claim from OAuth.Additional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.