strapi-plugin-oidc 1.2.2 → 1.2.3
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/admin/{index-CyqfIFcE.mjs → index-CZ_FdaEz.mjs} +4 -1
- package/dist/admin/{index-DdOqXIiR.js → index-DZwncy7E.js} +1 -1
- package/dist/admin/{index-DDF1gGuH.mjs → index-DuJfeoFu.mjs} +1 -1
- package/dist/admin/{index-C5Zb3Oi6.js → index-ENl8_IZn.js} +4 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -98,7 +98,7 @@ const index = {
|
|
|
98
98
|
defaultMessage: "Configuration"
|
|
99
99
|
},
|
|
100
100
|
Component: async () => {
|
|
101
|
-
return await import("./index-
|
|
101
|
+
return await import("./index-DuJfeoFu.mjs");
|
|
102
102
|
},
|
|
103
103
|
permissions: [{ action: "plugin::strapi-plugin-oidc.read", subject: null }]
|
|
104
104
|
}
|
|
@@ -183,6 +183,9 @@ const index = {
|
|
|
183
183
|
if (localStorage.getItem(ENFORCE_CACHE_KEY) === "1") {
|
|
184
184
|
patchHistory();
|
|
185
185
|
}
|
|
186
|
+
if (isAuthRoute(window.location.pathname)) {
|
|
187
|
+
document.documentElement.style.visibility = "hidden";
|
|
188
|
+
}
|
|
186
189
|
const checkEnforceOIDC = async () => {
|
|
187
190
|
try {
|
|
188
191
|
const response = await window.fetch("/strapi-plugin-oidc/settings/public");
|
|
@@ -7,7 +7,7 @@ const react = require("react");
|
|
|
7
7
|
const designSystem = require("@strapi/design-system");
|
|
8
8
|
const icons = require("@strapi/icons");
|
|
9
9
|
const reactIntl = require("react-intl");
|
|
10
|
-
const index = require("./index-
|
|
10
|
+
const index = require("./index-ENl8_IZn.js");
|
|
11
11
|
const styled = require("styled-components");
|
|
12
12
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
13
13
|
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
@@ -5,7 +5,7 @@ import { useState, useCallback, useEffect, memo } from "react";
|
|
|
5
5
|
import { Typography, Flex, Box, MultiSelect, MultiSelectOption, Field, Button, Divider, Thead, Tr, Th, Tbody, Td, Dialog, IconButton, Pagination, PreviousLink, PageLink, NextLink, Table, Alert, TextInput } from "@strapi/design-system";
|
|
6
6
|
import { Plus, Trash, WarningCircle } from "@strapi/icons";
|
|
7
7
|
import { useIntl } from "react-intl";
|
|
8
|
-
import { e as en, p as pluginId } from "./index-
|
|
8
|
+
import { e as en, p as pluginId } from "./index-CZ_FdaEz.mjs";
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
function getTrad(id) {
|
|
11
11
|
const pluginIdWithId = `${pluginId}.${id}`;
|
|
@@ -99,7 +99,7 @@ const index = {
|
|
|
99
99
|
defaultMessage: "Configuration"
|
|
100
100
|
},
|
|
101
101
|
Component: async () => {
|
|
102
|
-
return await Promise.resolve().then(() => require("./index-
|
|
102
|
+
return await Promise.resolve().then(() => require("./index-DZwncy7E.js"));
|
|
103
103
|
},
|
|
104
104
|
permissions: [{ action: "plugin::strapi-plugin-oidc.read", subject: null }]
|
|
105
105
|
}
|
|
@@ -184,6 +184,9 @@ const index = {
|
|
|
184
184
|
if (localStorage.getItem(ENFORCE_CACHE_KEY) === "1") {
|
|
185
185
|
patchHistory();
|
|
186
186
|
}
|
|
187
|
+
if (isAuthRoute(window.location.pathname)) {
|
|
188
|
+
document.documentElement.style.visibility = "hidden";
|
|
189
|
+
}
|
|
187
190
|
const checkEnforceOIDC = async () => {
|
|
188
191
|
try {
|
|
189
192
|
const response = await window.fetch("/strapi-plugin-oidc/settings/public");
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED
package/package.json
CHANGED