Skip to content

Commit 12a76f3

Browse files
committed
test: more debug
1 parent 566c5d3 commit 12a76f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cmap/auth/mongodb_oidc/azure_service_workflow.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ async function getAzureTokenData(tokenAudience: string): Promise<AzureAccessToke
9292
* the expires_in required field.
9393
*/
9494
function isEndpointResultInvalid(token: unknown): boolean {
95+
console.log('token in validation', token);
9596
if (token == null || typeof token !== 'object') return true;
97+
console.log('test', 'access_token' in token, 'expires_in' in token);
9698
return !('access_token' in token) && !('expires_in' in token);
9799
}

0 commit comments

Comments
 (0)