redskillhub-upload 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/auth.mjs +0 -3
- package/package.json +1 -1
package/cli/auth.mjs
CHANGED
|
@@ -427,15 +427,12 @@ export async function login({
|
|
|
427
427
|
throw error;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
-
console.log(authorizationCode);
|
|
431
|
-
console.log(codeVerifier);
|
|
432
430
|
const token = await exchangeToken({
|
|
433
431
|
authorizationCode,
|
|
434
432
|
codeVerifier,
|
|
435
433
|
tokenUrl: `${apiBase}${PATHS.EXCHANGE_CLI_OAUTH_TOKEN}`,
|
|
436
434
|
fetchImpl
|
|
437
435
|
});
|
|
438
|
-
console.log(token);
|
|
439
436
|
await writeCredentials(buildCredentialsFromToken(token, now(), 'OAS_TOKEN_EXCHANGE_INVALID_RESPONSE'), env, flags);
|
|
440
437
|
await clearPendingAuth(env, flags);
|
|
441
438
|
return maskCredentials(await readCredentials(env, flags));
|