@asgardeo/javascript 0.6.0 → 0.7.0
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/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +2 -2
- package/dist/models/v2/embedded-flow-v2.d.ts +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -3048,7 +3048,7 @@ var executeEmbeddedSignInFlowV2 = async ({
|
|
|
3048
3048
|
const flowResponse = await response.json();
|
|
3049
3049
|
if (flowResponse.flowStatus === "COMPLETE" /* Complete */ && flowResponse.assertion && authId) {
|
|
3050
3050
|
try {
|
|
3051
|
-
const oauth2Response = await fetch(`${baseUrl}/oauth2/
|
|
3051
|
+
const oauth2Response = await fetch(`${baseUrl}/oauth2/auth/callback`, {
|
|
3052
3052
|
method: "POST",
|
|
3053
3053
|
headers: {
|
|
3054
3054
|
"Content-Type": "application/json",
|
|
@@ -3148,7 +3148,7 @@ var executeEmbeddedSignUpFlowV2 = async ({
|
|
|
3148
3148
|
const flowResponse = await response.json();
|
|
3149
3149
|
if (flowResponse.flowStatus === "COMPLETE" /* Complete */ && flowResponse.assertion && authId) {
|
|
3150
3150
|
try {
|
|
3151
|
-
const oauth2Response = await fetch(`${baseUrl}/oauth2/
|
|
3151
|
+
const oauth2Response = await fetch(`${baseUrl}/oauth2/auth/callback`, {
|
|
3152
3152
|
method: "POST",
|
|
3153
3153
|
headers: {
|
|
3154
3154
|
"Content-Type": "application/json",
|