@tapni/auth 1.0.29 → 1.0.30
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-D2eYfE-p.js → Apps-Cu-kTQ3Y.js} +1 -1
- package/dist/{Billing-DjBHu4Lq.js → Billing-s4vl0lXd.js} +1 -1
- package/dist/{CustomApp-vTYGwC9k.js → CustomApp-D0K9L-Xn.js} +1 -1
- package/dist/{General-zRto9Axu.js → General-DoQ2TE3y.js} +1 -1
- package/dist/{QR-DZDzSzfb.js → QR-DuCeHgmQ.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +2 -2
- package/dist/{install-BHfiP_GD.js → install-B6GGfYes.js} +3 -3
- package/package.json +1 -1
- package/src/mixins/saml.mixin.js +1 -1
|
@@ -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.30", 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-DuCeHgmQ.js"), _a = () => Promise.resolve().then(() => vu), va = () => import("./Apps-Cu-kTQ3Y.js"), ya = () => import("./Billing-s4vl0lXd.js"), wa = () => import("./CustomApp-D0K9L-Xn.js"), ba = () => import("./General-DoQ2TE3y.js"), ka = [
|
|
5828
5828
|
{
|
|
5829
5829
|
path: "/welcome",
|
|
5830
5830
|
name: "AuthWelcome",
|
|
@@ -15481,7 +15481,7 @@ const Ps = Er("MsAuthPlugin", {
|
|
|
15481
15481
|
async samlLogin(n) {
|
|
15482
15482
|
this.code_verifier = $n.generateRandomString(28), localStorage.setItem("pkce_code_verifier", this.code_verifier), this.code_challenge = await $n.pkceChallengeFromVerifier(this.code_verifier);
|
|
15483
15483
|
const e = Hn.getPlatform();
|
|
15484
|
-
let t = `code_challenge=${this.code_challenge}&platform=${e}&redirect_uri=${location.origin + "/callback/saml"}&realm=${this.realm}&display=${this.display}`, r = btoa(t);
|
|
15484
|
+
let t = `code_challenge=${this.code_challenge}&platform=${e}&redirect_uri=${location.origin + "/app/callback/saml"}&realm=${this.realm}&display=${this.display}`, r = btoa(t);
|
|
15485
15485
|
n = `${n}&RelayState=${r}`;
|
|
15486
15486
|
let o = this;
|
|
15487
15487
|
window.addEventListener(
|
package/package.json
CHANGED
package/src/mixins/saml.mixin.js
CHANGED
|
@@ -40,7 +40,7 @@ export default {
|
|
|
40
40
|
const platform = Capacitor.getPlatform();
|
|
41
41
|
|
|
42
42
|
// append public key as relayState
|
|
43
|
-
let dataString = `code_challenge=${this.code_challenge}&platform=${platform}&redirect_uri=${location.origin + '/callback/saml'}&realm=${this.realm}&display=${this.display}`;
|
|
43
|
+
let dataString = `code_challenge=${this.code_challenge}&platform=${platform}&redirect_uri=${location.origin + '/app/callback/saml'}&realm=${this.realm}&display=${this.display}`;
|
|
44
44
|
let relayState = btoa(dataString);
|
|
45
45
|
|
|
46
46
|
loginUrl = `${loginUrl}&RelayState=${relayState}`
|