mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
fix: allow setting username in openIdStrategy (#744)
* fixed bug in setting username from openid jwt token * bugfix - changed , to ; at end of line
This commit is contained in:
parent
6ee0dbfdbd
commit
d79f585052
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ async function setupOpenId() {
|
|||
} else {
|
||||
user.provider = 'openid';
|
||||
user.openidId = userinfo.sub;
|
||||
user.username = userinfo.given_name || '';
|
||||
user.username = userinfo.username || userinfo.given_name || '';
|
||||
user.name = fullName;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue