Skip to content

Commit

Permalink
chore: remove console logging
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed May 25, 2023
1 parent 2af9e84 commit 12e8f8b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/cmap/auth/mongodb_oidc/azure_service_workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,9 @@ export class AzureServiceWorkflow extends ServiceWorkflow {
if (isEndpointResultInvalid(response)) {
throw new MongoAzureError(ENDPOINT_RESULT_ERROR);
}
console.log('response', response);
this.cache.addEntry(tokenAudience, response);
token = response.access_token;
}
console.log('token', token);
return token;
}
}
Expand All @@ -76,7 +74,6 @@ export class AzureServiceWorkflow extends ServiceWorkflow {
*/
async function getAzureTokenData(tokenAudience: string): Promise<AzureAccessToken> {
const url = `${AZURE_BASE_URL}&resource=${tokenAudience}`;
console.log('url', url);
const data = await request(url, {
json: true,
headers: AZURE_HEADERS
Expand Down
1 change: 0 additions & 1 deletion test/manual/mongodb_oidc_azure.prose.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ describe('OIDC Auth Spec Prose Tests', function () {
const commandFailedEvents: CommandFailedEvent[] = [];

const commandStartedListener = event => {
console.log(event);
if (event.commandName === 'find') {
commandStartedEvents.push(event);
}
Expand Down

0 comments on commit 12e8f8b

Please sign in to comment.