refactor: remove customOpenIdData property from user schema

This commit is contained in:
Ruben Talstra 2025-03-24 09:23:08 +01:00
parent 5c01eaa36c
commit ec1a31e852
No known key found for this signature in database
GPG key ID: 2A5A7174A60F3BEA

View file

@ -20,7 +20,6 @@ const { SystemRoles } = require('librechat-data-provider');
* @property {string} [googleId] - Optional Google ID for the user
* @property {string} [facebookId] - Optional Facebook ID for the user
* @property {string} [openidId] - Optional OpenID ID for the user
* @property {Map<string, string>} [customOpenIdData] - A map containing provider-specific custom data retrieved via OpenID Connect.
* @property {string} [ldapId] - Optional LDAP ID for the user
* @property {string} [githubId] - Optional GitHub ID for the user
* @property {string} [discordId] - Optional Discord ID for the user
@ -98,11 +97,6 @@ const userSchema = mongoose.Schema(
unique: true,
sparse: true,
},
customOpenIdData: {
type: Map,
of: mongoose.Schema.Types.Mixed,
default: {},
},
ldapId: {
type: String,
unique: true,