@tapni/auth 0.0.169 → 0.0.170
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 +6 -6
- package/dist/{Account-ja1hZJy5.js → Account-6F9eRo1R.js} +1 -1
- package/dist/{QR-ybXT1KGe.js → QR-2Izy5Dj4.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +2 -2
- package/dist/{install-4aK3Wz63.js → install-co2F1hxN.js} +4 -4
- package/package.json +1 -1
- package/src/mixins/okta.mixin.js +1 -1
- package/src/mixins/saml.mixin.js +1 -1
|
@@ -1411,7 +1411,7 @@ function Ca(n, e, t, r, o, i) {
|
|
|
1411
1411
|
const po = /* @__PURE__ */ gt(da, [["render", Ca], ["__scopeId", "data-v-615ed484"]]), Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1412
1412
|
__proto__: null,
|
|
1413
1413
|
default: po
|
|
1414
|
-
}, Symbol.toStringTag, { value: "Module" })), Ta = "0.0.
|
|
1414
|
+
}, Symbol.toStringTag, { value: "Module" })), Ta = "0.0.170", hr = {
|
|
1415
1415
|
getMe() {
|
|
1416
1416
|
return ce().get("/users/me");
|
|
1417
1417
|
},
|
|
@@ -5552,7 +5552,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5552
5552
|
choose_other_login_methods: "다른 로그인 방법 선택하기",
|
|
5553
5553
|
no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
|
|
5554
5554
|
}
|
|
5555
|
-
}, Ao = () => Promise.resolve().then(() => Ea), Ia = () => Promise.resolve().then(() => qc), Aa = () => Promise.resolve().then(() => Ul), Ra = () => Promise.resolve().then(() => wd), Pa = () => import("./Account-
|
|
5555
|
+
}, Ao = () => Promise.resolve().then(() => Ea), Ia = () => Promise.resolve().then(() => qc), Aa = () => Promise.resolve().then(() => Ul), Ra = () => Promise.resolve().then(() => wd), Pa = () => import("./Account-6F9eRo1R.js"), Ma = () => Promise.resolve().then(() => du), Na = () => Promise.resolve().then(() => Id), Oa = () => import("./QR-2Izy5Dj4.js"), La = () => Promise.resolve().then(() => xu), za = [
|
|
5556
5556
|
{
|
|
5557
5557
|
path: "/welcome",
|
|
5558
5558
|
name: "AuthWelcome",
|
|
@@ -15218,7 +15218,7 @@ const Ks = ar("MsAuthPlugin", {
|
|
|
15218
15218
|
const a = new URLSearchParams(e);
|
|
15219
15219
|
t = a.get("client_id"), r = a.get("domain"), o = a.get("platform");
|
|
15220
15220
|
}
|
|
15221
|
-
window.opener ? (window.opener.postMessage(i, location.origin), window.close()) : (this.isNative && this.
|
|
15221
|
+
window.opener ? (window.opener.postMessage(i, location.origin), window.close()) : (this.isNative && this.isiOS && await yr.close(), F.$emit("ssoEvent", { name: "setLoading", data: !0 }), n && t && r && await this.exchangeCode({ code: n, clientID: t, domain: r, platform: o }), localStorage.removeItem("pkce_code_verifier"), F.$emit("ssoEvent", { name: "setLoading", data: !1 }));
|
|
15222
15222
|
}
|
|
15223
15223
|
}
|
|
15224
15224
|
}, xr = {
|
|
@@ -15260,7 +15260,7 @@ const Ks = ar("MsAuthPlugin", {
|
|
|
15260
15260
|
if (this.$route.query.code && (e.code = this.$route.query.code), window.opener)
|
|
15261
15261
|
window.opener.postMessage(e, location.origin), window.close();
|
|
15262
15262
|
else {
|
|
15263
|
-
if (this.isNative && this.
|
|
15263
|
+
if (this.isNative && this.isiOS && await yr.close(), F.$emit("ssoEvent", { name: "setLoading", data: !0 }), this.$route.query.code && (n = this.$route.query.code), console.log(this.display, { code: n }), n) {
|
|
15264
15264
|
if (this.display === "popup")
|
|
15265
15265
|
return (t = window.parent) == null ? void 0 : t.postMessage({ code: n, state: this.$route.query.state }, "*");
|
|
15266
15266
|
await this.exchangeAuthCode({ code: n, code_verifier: localStorage.getItem("pkce_code_verifier") });
|
package/package.json
CHANGED
package/src/mixins/okta.mixin.js
CHANGED
|
@@ -121,7 +121,7 @@ export default {
|
|
|
121
121
|
window.opener.postMessage(postMessageData, location.origin);
|
|
122
122
|
window.close()
|
|
123
123
|
} else {
|
|
124
|
-
if(this.isNative && this.
|
|
124
|
+
if(this.isNative && this.isiOS) await Browser.close();
|
|
125
125
|
EventBus.$emit('ssoEvent', {name: 'setLoading', data: true})
|
|
126
126
|
if (code && clientID && domain) await this.exchangeCode({code, clientID, domain, platform});
|
|
127
127
|
localStorage.removeItem("pkce_code_verifier");
|
package/src/mixins/saml.mixin.js
CHANGED
|
@@ -68,7 +68,7 @@ export default {
|
|
|
68
68
|
window.opener.postMessage(postMessageData, location.origin);
|
|
69
69
|
window.close()
|
|
70
70
|
} else {
|
|
71
|
-
if(this.isNative && this.
|
|
71
|
+
if(this.isNative && this.isiOS) await Browser.close();
|
|
72
72
|
EventBus.$emit('ssoEvent', {name: 'setLoading', data: true})
|
|
73
73
|
if (this.$route.query.code) code = this.$route.query.code
|
|
74
74
|
|