LibreChat/api/strategies
Marco Beretta e76777d298
💊 fix: OpenID proxy support for downloading profile pictures (#3263)
Related to #3261

Add proxy support to `downloadImage` function in `openidStrategy.js`

* Import `HttpsProxyAgent` from `https-proxy-agent`.
* Add `agent` property to the fetch options in `downloadImage` function if `process.env.PROXY` is set.
* Update the `fetch` call in `downloadImage` function to use the proxy agent if available.
2024-07-05 10:23:06 -04:00
..
discordStrategy.js 📧 feat: email verification (#2344) 2024-06-07 15:06:47 -04:00
facebookStrategy.js 📧 feat: email verification (#2344) 2024-06-07 15:06:47 -04:00
githubStrategy.js 🔒refactor: social login and remove direct user model access in strategies (#2946) 2024-06-06 13:23:11 -04:00
googleStrategy.js 🔒refactor: social login and remove direct user model access in strategies (#2946) 2024-06-06 13:23:11 -04:00
index.js 🔒 feature(auth): LDAP Authentication (#2859) 2024-05-29 17:46:20 -04:00
jwtStrategy.js 🗨️ feat: Prompts (#3131) 2024-06-20 20:24:32 -04:00
ldapStrategy.js 🚀 feat(LDAP): Add Flexible Configuration Options (#3124) 2024-06-21 10:14:53 -04:00
localStrategy.js 🚀 refactor: Remove Local Login Redundancies (#3002) 2024-06-07 16:45:31 -04:00
openidStrategy.js 💊 fix: OpenID proxy support for downloading profile pictures (#3263) 2024-07-05 10:23:06 -04:00
process.js 📧 feat: email verification (#2344) 2024-06-07 15:06:47 -04:00
socialLogin.js 📧 feat: email verification (#2344) 2024-06-07 15:06:47 -04:00
validators.js 🌍 feat: Extend regex to support international usernames (#1918) 2024-02-28 14:27:57 -05:00
validators.spec.js 🌍 feat: Extend regex to support international usernames (#1918) 2024-02-28 14:27:57 -05:00