Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Jan 3, 2025
1 parent af8076b commit b61dce2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/oidc-client-service-worker/src/OidcServiceWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ const handleFetch = async (event: FetchEvent) => {
) {
requestMode = 'cors';
}
console.log('url : ', url);
let headers: { [p: string]: string };
if (
originalRequest.mode == 'navigate' &&
Expand All @@ -147,7 +146,6 @@ const handleFetch = async (event: FetchEvent) => {
if (authorization) {
authenticationMode = authorization.split(' ')[0];
}
console.log('authenticationMode', authenticationMode);

if (authenticationMode.toLowerCase() == 'dpop') {
const claimsExtras = {
Expand All @@ -161,7 +159,6 @@ const handleFetch = async (event: FetchEvent) => {
url,
claimsExtras,
);
console.log('dpopHeaders', dpopHeaders);
headers = {
...dpopHeaders,
authorization:
Expand All @@ -174,7 +171,6 @@ const handleFetch = async (event: FetchEvent) => {
authenticationMode + ' ' + currentDatabaseForRequestAccessToken.tokens.access_token,
};
}
console.log('headers', headers);
}
let init: RequestInit;
if (originalRequest.mode === 'navigate') {
Expand Down

0 comments on commit b61dce2

Please sign in to comment.