refactor(openidStrategy): remove unused crypto imports to clean up code

This commit is contained in:
Danny Avila
2025-05-30 14:47:32 -04:00
parent 4fea3d4274
commit 226bd90ede

View File

@@ -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