Skip to content

Commit 159e40f

Browse files
committed
log token length
1 parent 604c745 commit 159e40f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/utils/oidc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ async function oidc ({ packageName, registry, opts, config }) {
104104
return undefined
105105
}
106106

107+
log.silly('oidc', `id_token has a length of ${idToken.length} characters`)
108+
107109
const parsedRegistry = new URL(registry)
108110
const regKey = `//${parsedRegistry.host}${parsedRegistry.pathname}`
109111
const authTokenKey = `${regKey}:_authToken`

0 commit comments

Comments
 (0)