feat(auth): Enhance OAuth callback for robust Docker support (#3532)

Co-authored-by: Scott Densmore <scottdensmore@mac.com>
This commit is contained in:
Yongsheng Xu
2025-07-18 09:55:26 +08:00
committed by GitHub
parent 2f5eecfc49
commit 91c69731c7
2 changed files with 40 additions and 4 deletions

View File

@@ -105,7 +105,7 @@ describe('oauth2', () => {
let capturedPort = 0;
const mockHttpServer = {
listen: vi.fn((port: number, callback?: () => void) => {
listen: vi.fn((port: number, _host: string, callback?: () => void) => {
capturedPort = port;
if (callback) {
callback();