mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[PR #6262] [CLOSED] fix: get userinfo from endpoint, not only from token #8646
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/6262
Author: @alvarolopez
Created: 10/18/2024
Status: ❌ Closed
Base:
dev← Head:userinfo📝 Commits (1)
7713411fix: get userinfo from endpoint, not only from token📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/open_webui/main.py(+1 -1)📄 Description
The OpenID Connect Specification does not enforce that userinfo claims are included in the ID token "ID Tokens MAY contain other Claims" 1. Some providers do not include userinfo claims in the ID token, therefore it is needed to perform an additional call to the userinfo endpoint 2 to obtain them,
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
Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.