mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 10:20:15 +01:00
refactor(openidStrategy): remove unused crypto imports to clean up code
This commit is contained in:
parent
4fea3d4274
commit
226bd90ede
1 changed files with 0 additions and 9 deletions
|
|
@ -37,15 +37,6 @@ class CustomOpenIDStrategy extends OpenIDStrategy {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let crypto;
|
|
||||||
let webcrypto;
|
|
||||||
try {
|
|
||||||
crypto = require('node:crypto');
|
|
||||||
webcrypto = crypto;
|
|
||||||
} catch (err) {
|
|
||||||
logger.error('[openidStrategy] crypto support is disabled!', err);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exchange the access token for a new access token using the on-behalf-of flow if required.
|
* Exchange the access token for a new access token using the on-behalf-of flow if required.
|
||||||
* @param {Configuration} config
|
* @param {Configuration} config
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue