👤 fix: Create User with timestamps (#3070)

* 👤 fix: Create User with timestamps

* chore: fix lint script to ignore venv

* chore: linting
This commit is contained in:
Danny Avila 2024-06-15 10:36:49 -04:00 committed by GitHub
parent bcaa7d5d29
commit 04502e9525
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 12 deletions

View file

@ -69,11 +69,11 @@ function convertToUsername(input, defaultValue = '') {
async function setupOpenId() {
try {
if (process.env.PROXY) {
const proxyAgent = new HttpsProxyAgent(process.env.PROXY);
custom.setHttpOptionsDefaults({
agent: proxyAgent
});
logger.info(`[openidStrategy] proxy agent added: ${process.env.PROXY}`);
const proxyAgent = new HttpsProxyAgent(process.env.PROXY);
custom.setHttpOptionsDefaults({
agent: proxyAgent,
});
logger.info(`[openidStrategy] proxy agent added: ${process.env.PROXY}`);
}
const issuer = await Issuer.discover(process.env.OPENID_ISSUER);
const client = new issuer.Client({