@tapni/auth 1.0.9 → 1.0.11
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-spt3-xmr.js → Apps-D903yvip.js} +1 -1
- package/dist/{Billing-EQtSRyls.js → Billing-CQp6b4tB.js} +1 -1
- package/dist/{CustomApp-DytcodWc.js → CustomApp-h6WA5um0.js} +1 -1
- package/dist/{General-BBoC_TV2.js → General-DA3IgC3X.js} +1 -1
- package/dist/{QR-DmSyXgb5.js → QR-BxHBi2nV.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +2 -2
- package/dist/{install-DJ7V1wyP.js → install-DfWX9rnL.js} +4 -4
- package/package.json +1 -1
- package/src/mixins/microsoft.mixin.js +1 -4
- package/src/views/Login.vue +3 -3
|
@@ -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.11", 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-BxHBi2nV.js"), Ca = () => Promise.resolve().then(() => Cu), Ea = () => import("./Apps-D903yvip.js"), Ta = () => import("./Billing-CQp6b4tB.js"), Sa = () => import("./CustomApp-h6WA5um0.js"), Ia = () => import("./General-DA3IgC3X.js"), Aa = [
|
|
5567
5567
|
{
|
|
5568
5568
|
path: "/welcome",
|
|
5569
5569
|
name: "AuthWelcome",
|
|
@@ -14987,7 +14987,7 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
14987
14987
|
knownAuthorities: [],
|
|
14988
14988
|
keyHash: "4+5wCp8QcLptlO0aeP5RDTTOWyg=",
|
|
14989
14989
|
// Android,
|
|
14990
|
-
redirectUri:
|
|
14990
|
+
redirectUri: `${window.location.origin}/login`
|
|
14991
14991
|
})
|
|
14992
14992
|
);
|
|
14993
14993
|
if (t)
|
|
@@ -15374,7 +15374,7 @@ const xs = Ir("MsAuthPlugin", {
|
|
|
15374
15374
|
let e;
|
|
15375
15375
|
if (!(!n || n.error))
|
|
15376
15376
|
if (e = Object.keys(n.sso), e.length)
|
|
15377
|
-
e[
|
|
15377
|
+
e[0] === "azure" && this.microsoftLogin("sso", n.sso.azure.sso), e[0] === "okta" && this.oktaLogin(n.sso.okta.sso), e[0] === "saml" && this.samlLogin(n.sso.saml.sso.loginUrl);
|
|
15378
15378
|
else
|
|
15379
15379
|
return this.forceClose(), this.errorSnack(this.ssoLang[this.appLanguage].no_sso_logins);
|
|
15380
15380
|
},
|
package/package.json
CHANGED
|
@@ -27,10 +27,7 @@ export default {
|
|
|
27
27
|
scopes: ["User.Read"],
|
|
28
28
|
knownAuthorities: [],
|
|
29
29
|
keyHash: "4+5wCp8QcLptlO0aeP5RDTTOWyg=", // Android,
|
|
30
|
-
redirectUri:
|
|
31
|
-
import.meta.env.DEV
|
|
32
|
-
? `${window.location.origin}/login`
|
|
33
|
-
: "https://" + window.location.host + "/login",
|
|
30
|
+
redirectUri: `${window.location.origin}/login`
|
|
34
31
|
})
|
|
35
32
|
);
|
|
36
33
|
if (errAuth) {
|
package/src/views/Login.vue
CHANGED
|
@@ -364,10 +364,10 @@ export default {
|
|
|
364
364
|
this.forceClose();
|
|
365
365
|
return this.errorSnack(this.ssoLang[this.appLanguage].no_sso_logins);
|
|
366
366
|
} else {
|
|
367
|
-
if (ssoTypes[
|
|
367
|
+
if (ssoTypes[0] === "azure")
|
|
368
368
|
this.microsoftLogin("sso", response.sso.azure.sso);
|
|
369
|
-
if (ssoTypes[
|
|
370
|
-
if (ssoTypes[
|
|
369
|
+
if (ssoTypes[0] === "okta") this.oktaLogin(response.sso.okta.sso);
|
|
370
|
+
if (ssoTypes[0] === "saml")
|
|
371
371
|
this.samlLogin(response.sso.saml.sso.loginUrl);
|
|
372
372
|
}
|
|
373
373
|
}
|