@asgardeo/javascript 0.6.0 → 0.7.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/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 +2 -2
package/dist/index.js
CHANGED
|
@@ -2938,7 +2938,7 @@ var executeEmbeddedSignInFlowV2 = async ({
|
|
|
2938
2938
|
const flowResponse = await response.json();
|
|
2939
2939
|
if (flowResponse.flowStatus === "COMPLETE" /* Complete */ && flowResponse.assertion && authId) {
|
|
2940
2940
|
try {
|
|
2941
|
-
const oauth2Response = await fetch(`${baseUrl}/oauth2/
|
|
2941
|
+
const oauth2Response = await fetch(`${baseUrl}/oauth2/auth/callback`, {
|
|
2942
2942
|
method: "POST",
|
|
2943
2943
|
headers: {
|
|
2944
2944
|
"Content-Type": "application/json",
|
|
@@ -3038,7 +3038,7 @@ var executeEmbeddedSignUpFlowV2 = async ({
|
|
|
3038
3038
|
const flowResponse = await response.json();
|
|
3039
3039
|
if (flowResponse.flowStatus === "COMPLETE" /* Complete */ && flowResponse.assertion && authId) {
|
|
3040
3040
|
try {
|
|
3041
|
-
const oauth2Response = await fetch(`${baseUrl}/oauth2/
|
|
3041
|
+
const oauth2Response = await fetch(`${baseUrl}/oauth2/auth/callback`, {
|
|
3042
3042
|
method: "POST",
|
|
3043
3043
|
headers: {
|
|
3044
3044
|
"Content-Type": "application/json",
|