@embeddable.com/sdk-core 2.4.32 → 2.4.33
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/lib/index.esm.js +2 -0
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -20037,6 +20037,8 @@ var login = async () => {
|
|
|
20037
20037
|
audience: config.audienceUrl,
|
|
20038
20038
|
};
|
|
20039
20039
|
const deviceCodeResponse = await axios.post(`https://${config.authDomain}/oauth/device/code`, deviceCodePayload);
|
|
20040
|
+
ora("Confirm this code on your browser: " +
|
|
20041
|
+
deviceCodeResponse.data["user_code"]).info();
|
|
20040
20042
|
const tokenPayload = {
|
|
20041
20043
|
grant_type: "urn:ietf:params:oauth:grant-type:device_code",
|
|
20042
20044
|
device_code: deviceCodeResponse.data["device_code"],
|