mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 06:45:28 +00:00
Refactor auth middleware to accept multiple auth modes
This commit is contained in:
@@ -45,19 +45,19 @@ const serviceTokenDataSchema = new Schema<IServiceTokenData>(
|
||||
type: String,
|
||||
unique: true,
|
||||
required: true,
|
||||
select: true
|
||||
select: false
|
||||
},
|
||||
encryptedKey: {
|
||||
type: String,
|
||||
select: true
|
||||
select: false
|
||||
},
|
||||
iv: {
|
||||
type: String,
|
||||
select: true
|
||||
select: false
|
||||
},
|
||||
tag: {
|
||||
type: String,
|
||||
select: true
|
||||
select: false
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user