Skip to content

Commit 365f5f2

Browse files
committed
fixup: cr review
1 parent e699e95 commit 365f5f2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/mongodb-runner/src/oidc.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ if (process.env.RUN_OIDC_MOCK_PROVIDER !== undefined) {
2323
});
2424
res.writeHead(200);
2525
res.end();
26+
return;
2627
}
28+
return config.overrideRequestHandler?.(url, req, res);
2729
},
2830
});
2931
debug('started OIDC mock provider with UUID', {

packages/oidc-mock-provider/src/cli-parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function parseCLIArgs(
5252
})
5353
.option('skip-refresh-token', {
5454
type: 'boolean',
55-
desc: 'Skip issuing ID tokens.',
55+
desc: 'Skip issuing refresh tokens.',
5656
})
5757
.option('log-requests', {
5858
alias: 'l',

0 commit comments

Comments
 (0)