@tapni/auth 1.0.14 → 1.0.15
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-CFXAriI4.js → Apps-C7C6X_9Q.js} +1 -1
- package/dist/{Billing-JwfACI7M.js → Billing-Cv4Gzw8y.js} +1 -1
- package/dist/{CustomApp---b2SbIq.js → CustomApp-D93XS4pz.js} +1 -1
- package/dist/{General-kIEcVs4A.js → General-DzEWNCld.js} +1 -1
- package/dist/{QR-BfTMaaLP.js → QR-DmL_YNNk.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +2 -2
- package/dist/{install-DIW0f4hT.js → install-C7uHez0H.js} +3 -3
- package/package.json +1 -1
- package/src/mixins/saml.mixin.js +1 -1
|
@@ -1397,7 +1397,7 @@ function pa(n, e, t, r, o, i) {
|
|
|
1397
1397
|
const ao = /* @__PURE__ */ _t(oa, [["render", pa], ["__scopeId", "data-v-7aad6400"]]), ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1398
1398
|
__proto__: null,
|
|
1399
1399
|
default: ao
|
|
1400
|
-
}, Symbol.toStringTag, { value: "Module" })), fa = "1.0.
|
|
1400
|
+
}, Symbol.toStringTag, { value: "Module" })), fa = "1.0.15", cr = {
|
|
1401
1401
|
getMe() {
|
|
1402
1402
|
return le().get("/users/me");
|
|
1403
1403
|
},
|
|
@@ -5563,7 +5563,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5563
5563
|
choose_other_login_methods: "다른 로그인 방법 선택하기",
|
|
5564
5564
|
no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
|
|
5565
5565
|
}
|
|
5566
|
-
}, To = () => Promise.resolve().then(() => ha), ma = () => Promise.resolve().then(() => mc), _a = () => Promise.resolve().then(() => cl), va = () => Promise.resolve().then(() => Xu), ya = () => Promise.resolve().then(() => zc), wa = () => Promise.resolve().then(() => Cl), ba = () => Promise.resolve().then(() => od), ka = () => import("./QR-
|
|
5566
|
+
}, To = () => Promise.resolve().then(() => ha), ma = () => Promise.resolve().then(() => mc), _a = () => Promise.resolve().then(() => cl), va = () => Promise.resolve().then(() => Xu), ya = () => Promise.resolve().then(() => zc), wa = () => Promise.resolve().then(() => Cl), ba = () => Promise.resolve().then(() => od), ka = () => import("./QR-DmL_YNNk.js"), Ca = () => Promise.resolve().then(() => Cu), Ea = () => import("./Apps-C7C6X_9Q.js"), Ta = () => import("./Billing-Cv4Gzw8y.js"), Sa = () => import("./CustomApp-D93XS4pz.js"), Ia = () => import("./General-DzEWNCld.js"), Aa = [
|
|
5567
5567
|
{
|
|
5568
5568
|
path: "/welcome",
|
|
5569
5569
|
name: "AuthWelcome",
|
|
@@ -15252,7 +15252,7 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15252
15252
|
window.opener.postMessage({ type: "saml", code: n }, "*"), this.closeWindow();
|
|
15253
15253
|
else {
|
|
15254
15254
|
if (this.isNative && this.isiOS && await fr.close(), Y.$emit("ssoEvent", { name: "setLoading", data: !0 }), console.log(this.display, { code: n }, window.parent, window.opener), n) {
|
|
15255
|
-
if (this.display === "popup" && (localStorage.setItem("auth_code", n), this.shouldCloseWindow = !0, (e = window.parent) == null || e.postMessage({ code: n, state: this.$route.query.state }, "*"), this.closeWindow()), this.display === "redirect" || location.host === "auth.tapni.com") {
|
|
15255
|
+
if ((this.display === "popup" || this.display === "npm") && (localStorage.setItem("auth_code", n), this.shouldCloseWindow = !0, (e = window.parent) == null || e.postMessage({ code: n, state: this.$route.query.state }, "*"), this.closeWindow()), this.display === "redirect" || location.host === "auth.tapni.com") {
|
|
15256
15256
|
let t = "https://auth.tapni.com/callback/auth";
|
|
15257
15257
|
return this.realm === "dashboard" && (t = "https://business.tapni.com/login"), location.href = t + "?code=" + n + "&code_verifier=" + localStorage.getItem("pkce_code_verifier");
|
|
15258
15258
|
}
|
package/package.json
CHANGED
package/src/mixins/saml.mixin.js
CHANGED
|
@@ -114,7 +114,7 @@ export default {
|
|
|
114
114
|
console.log(this.display, { code }, window.parent, window.opener);
|
|
115
115
|
|
|
116
116
|
if (code) {
|
|
117
|
-
if (this.display === 'popup') {
|
|
117
|
+
if (this.display === 'popup' || this.display === 'npm') {
|
|
118
118
|
localStorage.setItem('auth_code', code);
|
|
119
119
|
this.shouldCloseWindow = true;
|
|
120
120
|
window.parent?.postMessage({ code: code, state: this.$route.query.state }, '*');
|