@authhero/react-admin 0.27.0 → 0.28.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @authhero/react-admin
2
2
 
3
+ ## 0.28.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 2d0a7f4: Add a auth0-conformance flag
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [2d0a7f4]
12
+ - @authhero/adapter-interfaces@0.123.0
13
+ - @authhero/widget@0.7.2
14
+
3
15
  ## 0.27.0
4
16
 
5
17
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authhero/react-admin",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "packageManager": "pnpm@10.20.0",
5
5
  "private": false,
6
6
  "repository": {
package/src/App.spec.tsx CHANGED
@@ -29,10 +29,14 @@ vi.mock("./utils/domainUtils", () => ({
29
29
  buildUrlWithProtocol: (url: string) => `https://${url}`,
30
30
  }));
31
31
 
32
- vi.mock("react-router-dom", () => ({
33
- useNavigate: () => vi.fn(),
34
- useLocation: () => ({ pathname: "/" }),
35
- }));
32
+ vi.mock("react-router-dom", async (importOriginal) => {
33
+ const actual = (await importOriginal()) as any;
34
+ return {
35
+ ...actual,
36
+ useNavigate: () => vi.fn(),
37
+ useLocation: () => ({ pathname: "/" }),
38
+ };
39
+ });
36
40
 
37
41
  // Mock color picker to avoid CSS import issues in tests
38
42
  vi.mock("react-admin-color-picker", () => ({
@@ -1226,6 +1226,12 @@ export function ClientEdit() {
1226
1226
  format={(value) => value === "true" || value === true}
1227
1227
  parse={(value) => (value ? "true" : "false")}
1228
1228
  />
1229
+ <BooleanInput
1230
+ source="auth0_conformant"
1231
+ label="Auth0 Conformant Mode"
1232
+ helperText="Enable Auth0-compatible behavior. Disable for strict OIDC compliance."
1233
+ defaultValue={true}
1234
+ />
1229
1235
  <ClientMetadataInput source="client_metadata" />
1230
1236
  <GrantTypesInput source="grant_types" />
1231
1237
  <ArrayInput source="callbacks">