Skip to content

Commit cb0b74e

Browse files
committed
fix: suppress oauth strategy debug logs
1 parent 469acc2 commit cb0b74e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

apps/builder/app/services/auth-strategy/ws.server.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ const asyncLocalStorage = new AsyncLocalStorage<
1818
>();
1919

2020
// remix-auth-oauth2 logs OAuth state, PKCE verifier, and full callback URLs.
21-
createDebugRaw.enable(`${createDebugRaw.disable()},-OAuth2Strategy`);
21+
// Match both the exact namespace and any prefixed namespace enabled by DEBUG=*.
22+
createDebugRaw.enable(
23+
`${createDebugRaw.disable()},-OAuth2Strategy,-*OAuth2Strategy*`
24+
);
2225

2326
/**
2427
* The main issue with OAuth2Strategy is that it forces us to define authorizationEndpoint, tokenEndpoint, and redirectURI

0 commit comments

Comments
 (0)