@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.
@@ -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.29", ar = {
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-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 = [
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapni/auth",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
@@ -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}`