Skip to content

Commit 23f2403

Browse files
committed
rename test-esm to test
1 parent 7610c97 commit 23f2403

594 files changed

Lines changed: 546 additions & 445 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// Main entry point - provides both CommonJS (for tests) and ESM (for modern usage)
22
module.exports = require('./lib/create-app-cjs')
33
module.exports.createServer = require('./lib/create-server-cjs')
4-
module.exports.startCli = require('./bin/lib/cli')
4+
module.exports.startCli = require('./bin/lib/cli.cjs')

lib/models/oidc-manager.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ export function fromServerConfig (argv) {
1010
const postLogoutUri = new URL('/goodbye', providerUri).toString()
1111
const dbPath = path.join(argv.dbPath, 'oidc')
1212
const options = {
13-
debug,
13+
debug: debug.authentication,
1414
providerUri,
1515
dbPath,
1616
authCallbackUri,
1717
postLogoutUri,
1818
saltRounds: argv.saltRounds,
1919
delayBeforeRegisteringInitialClient: argv.delayBeforeRegisteringInitialClient,
20-
host: { debug }
20+
host: { debug: debug.authentication }
2121
}
2222
return OidcManager.from(options)
2323
}

0 commit comments

Comments
 (0)