mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 08:12:00 +02:00
🐞 Fix: OpenID Profile Image Download (#2757)
* Add fetch requirement Fixes - error: [openidStrategy] downloadImage: Error downloading image at URL "https://graph.microsoft.com/v1.0/me/photo/$value": TypeError: response.buffer is not a function * Update openidStrategy.js --------- Co-authored-by: Danny Avila <danacordially@gmail.com>
This commit is contained in:
parent
612a58737d
commit
31479d6a48
1 changed files with 1 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
const fetch = require('node-fetch');
|
||||
const passport = require('passport');
|
||||
const jwtDecode = require('jsonwebtoken/decode');
|
||||
const { Issuer, Strategy: OpenIDStrategy } = require('openid-client');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue