@tapni/auth 1.0.27 → 1.0.29
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/.vite/manifest.json +12 -12
- package/dist/{Apps-DjKy-a5Q.js → Apps-D2eYfE-p.js} +1 -1
- package/dist/{Billing-DSqrWJMC.js → Billing-DjBHu4Lq.js} +1 -1
- package/dist/{CustomApp-CBmIn-Tt.js → CustomApp-vTYGwC9k.js} +1 -1
- package/dist/{General-iau1n0fq.js → General-zRto9Axu.js} +1 -1
- package/dist/{QR-BU8ZXvwS.js → QR-DZDzSzfb.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +2 -2
- package/dist/{install-BCTb9M8G.js → install-BHfiP_GD.js} +10 -10
- package/package.json +1 -1
- package/src/views/Callback.vue +4 -4
- package/src/views/Login.vue +4 -4
|
@@ -1390,7 +1390,7 @@ function aa(n, e, t, r, o, i) {
|
|
|
1390
1390
|
const ro = /* @__PURE__ */ pn(Zi, [["render", aa], ["__scopeId", "data-v-cb61958b"]]), sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1391
1391
|
__proto__: null,
|
|
1392
1392
|
default: ro
|
|
1393
|
-
}, Symbol.toStringTag, { value: "Module" })), ca = "1.0.
|
|
1393
|
+
}, Symbol.toStringTag, { value: "Module" })), ca = "1.0.29", ar = {
|
|
1394
1394
|
getMe() {
|
|
1395
1395
|
return le().get("/users/me");
|
|
1396
1396
|
},
|
|
@@ -5824,7 +5824,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5824
5824
|
app_region: "지역",
|
|
5825
5825
|
app_region_p: "맞춤형 결제 및 지원을 위해 지역을 선택하세요"
|
|
5826
5826
|
}
|
|
5827
|
-
}, ko = () => Promise.resolve().then(() => sa), ua = () => Promise.resolve().then(() => uc), da = () => Promise.resolve().then(() => rl), pa = () => Promise.resolve().then(() => Qu), ha = () => Promise.resolve().then(() => Pc), fa = () => Promise.resolve().then(() => vl), ma = () => Promise.resolve().then(() => Zu), ga = () => import("./QR-
|
|
5827
|
+
}, ko = () => Promise.resolve().then(() => sa), ua = () => Promise.resolve().then(() => uc), da = () => Promise.resolve().then(() => rl), pa = () => Promise.resolve().then(() => Qu), ha = () => Promise.resolve().then(() => Pc), fa = () => Promise.resolve().then(() => vl), ma = () => Promise.resolve().then(() => Zu), ga = () => import("./QR-DZDzSzfb.js"), _a = () => Promise.resolve().then(() => vu), va = () => import("./Apps-D2eYfE-p.js"), ya = () => import("./Billing-DjBHu4Lq.js"), wa = () => import("./CustomApp-vTYGwC9k.js"), ba = () => import("./General-zRto9Axu.js"), ka = [
|
|
5828
5828
|
{
|
|
5829
5829
|
path: "/welcome",
|
|
5830
5830
|
name: "AuthWelcome",
|
|
@@ -15632,8 +15632,8 @@ const Ps = Er("MsAuthPlugin", {
|
|
|
15632
15632
|
},
|
|
15633
15633
|
async mounted() {
|
|
15634
15634
|
if (!this.isModal) {
|
|
15635
|
-
if (this.$route.path === "/
|
|
15636
|
-
if (this.$route.path === "/
|
|
15635
|
+
if (this.$route.path === "/login/callback/okta") return await this.handleOktaRedirect();
|
|
15636
|
+
if (this.$route.path === "/login/callback/saml") return await this.handleSamlRedirect();
|
|
15637
15637
|
this.$route.query.qrLogin && this.changeLoginToQr(), setTimeout(() => {
|
|
15638
15638
|
this.$storex && this.$storex.token ? this.$router.push(this.home) : te.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
15639
15639
|
}, 2500);
|
|
@@ -15682,8 +15682,8 @@ const Ps = Er("MsAuthPlugin", {
|
|
|
15682
15682
|
n.includes("@") && (this.$storex.verifyEmail = n);
|
|
15683
15683
|
},
|
|
15684
15684
|
"$route.path": async function(n) {
|
|
15685
|
-
if (n === "/
|
|
15686
|
-
if (n === "/
|
|
15685
|
+
if (n === "/login/callback/okta") return await this.handleOktaRedirect();
|
|
15686
|
+
if (n === "/login/callback/saml") return await this.handleSamlRedirect();
|
|
15687
15687
|
}
|
|
15688
15688
|
}
|
|
15689
15689
|
}, Os = {
|
|
@@ -17999,13 +17999,13 @@ const _o = /* @__PURE__ */ pn(yu, [["render", Vu], ["__scopeId", "data-v-707a4b1
|
|
|
17999
17999
|
return {};
|
|
18000
18000
|
},
|
|
18001
18001
|
async mounted() {
|
|
18002
|
-
if (this.$route.path === "/
|
|
18002
|
+
if (this.$route.path === "/callback/redirect")
|
|
18003
18003
|
return location.href = atob(this.$route.query.uri);
|
|
18004
|
-
if (this.$route.path === "/
|
|
18004
|
+
if (this.$route.path === "/callback/auth" && this.exchangeAuthCode({
|
|
18005
18005
|
code: this.$route.query.code,
|
|
18006
18006
|
code_verifier: this.$route.query.code_verifier
|
|
18007
|
-
}), this.$route.path === "/
|
|
18008
|
-
if (this.$route.path === "/
|
|
18007
|
+
}), this.$route.path === "/callback/okta") return await this.handleOktaRedirect();
|
|
18008
|
+
if (this.$route.path === "/callback/saml") return await this.handleSamlRedirect();
|
|
18009
18009
|
},
|
|
18010
18010
|
methods: {
|
|
18011
18011
|
inAppRedirect() {
|
package/package.json
CHANGED
package/src/views/Callback.vue
CHANGED
|
@@ -24,17 +24,17 @@ export default {
|
|
|
24
24
|
},
|
|
25
25
|
|
|
26
26
|
async mounted() {
|
|
27
|
-
if (this.$route.path === '/
|
|
27
|
+
if (this.$route.path === '/callback/redirect') {
|
|
28
28
|
return location.href = atob(this.$route.query.uri);
|
|
29
29
|
}
|
|
30
|
-
if (this.$route.path === '/
|
|
30
|
+
if (this.$route.path === '/callback/auth') {
|
|
31
31
|
this.exchangeAuthCode({
|
|
32
32
|
code: this.$route.query.code,
|
|
33
33
|
code_verifier: this.$route.query.code_verifier
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
if (this.$route.path === '/
|
|
37
|
-
if (this.$route.path === '/
|
|
36
|
+
if (this.$route.path === '/callback/okta') return await this.handleOktaRedirect();
|
|
37
|
+
if (this.$route.path === '/callback/saml') return await this.handleSamlRedirect();
|
|
38
38
|
},
|
|
39
39
|
methods: {
|
|
40
40
|
inAppRedirect() {
|
package/src/views/Login.vue
CHANGED
|
@@ -332,8 +332,8 @@ export default {
|
|
|
332
332
|
},
|
|
333
333
|
async mounted() {
|
|
334
334
|
if (!this.isModal) {
|
|
335
|
-
if(this.$route.path === '/
|
|
336
|
-
if(this.$route.path === '/
|
|
335
|
+
if(this.$route.path === '/login/callback/okta') return await this.handleOktaRedirect();
|
|
336
|
+
if(this.$route.path === '/login/callback/saml') return await this.handleSamlRedirect();
|
|
337
337
|
if (this.$route.query.qrLogin) this.changeLoginToQr();
|
|
338
338
|
|
|
339
339
|
|
|
@@ -421,8 +421,8 @@ export default {
|
|
|
421
421
|
}
|
|
422
422
|
},
|
|
423
423
|
'$route.path': async function(routePath) {
|
|
424
|
-
if(routePath === '/
|
|
425
|
-
if(routePath === '/
|
|
424
|
+
if(routePath === '/login/callback/okta') return await this.handleOktaRedirect();
|
|
425
|
+
if(routePath === '/login/callback/saml') return await this.handleSamlRedirect();
|
|
426
426
|
}
|
|
427
427
|
},
|
|
428
428
|
};
|