diff --git a/api/strategies/openidStrategy.js b/api/strategies/openidStrategy.js index 2525258ad9..1d0a6bc5e6 100644 --- a/api/strategies/openidStrategy.js +++ b/api/strategies/openidStrategy.js @@ -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. * @param {Configuration} config