@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.esm.js
CHANGED
|
@@ -20010,6 +20010,8 @@ var login = async () => {
|
|
|
20010
20010
|
audience: config.audienceUrl,
|
|
20011
20011
|
};
|
|
20012
20012
|
const deviceCodeResponse = await axios.post(`https://${config.authDomain}/oauth/device/code`, deviceCodePayload);
|
|
20013
|
+
ora("Confirm this code on your browser: " +
|
|
20014
|
+
deviceCodeResponse.data["user_code"]).info();
|
|
20013
20015
|
const tokenPayload = {
|
|
20014
20016
|
grant_type: "urn:ietf:params:oauth:grant-type:device_code",
|
|
20015
20017
|
device_code: deviceCodeResponse.data["device_code"],
|