@contextual-io/cli 0.3.0 → 0.3.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/README.md +1 -1
- package/dist/utils/auth.js +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/utils/auth.js
CHANGED
|
@@ -34,9 +34,9 @@ export const codeExchange = async ({ audience, clientId, domain }) => {
|
|
|
34
34
|
method: "POST",
|
|
35
35
|
});
|
|
36
36
|
const codeJson = await codeRsp.json();
|
|
37
|
-
const { device_code, interval, verification_uri_complete } = codeJson;
|
|
37
|
+
const { device_code, interval, user_code, verification_uri_complete } = codeJson;
|
|
38
38
|
console.log("We've launched your web browser to complete the login process.");
|
|
39
|
-
console.log("Verification code: %s",
|
|
39
|
+
console.log("Verification code: %s", user_code);
|
|
40
40
|
console.log();
|
|
41
41
|
console.log("Waiting for login to complete...");
|
|
42
42
|
await open(`${verification_uri_complete}&audience=${audience}`);
|
package/oclif.manifest.json
CHANGED