@ory/elements-react 0.0.0-pr.e3d2b7e1 → 0.0.0-pr.f1435f4

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.
Files changed (184) hide show
  1. package/CHANGELOG.md +210 -0
  2. package/DEVELOPMENT.md +19 -4
  3. package/README.md +253 -4
  4. package/babel.config.js +10 -0
  5. package/dist/client/frontendClient.d.mts +5 -2
  6. package/dist/client/frontendClient.d.ts +5 -2
  7. package/dist/client/frontendClient.js +25 -2
  8. package/dist/client/frontendClient.js.map +1 -1
  9. package/dist/client/frontendClient.mjs +25 -2
  10. package/dist/client/frontendClient.mjs.map +1 -1
  11. package/dist/client/index.js +3 -3
  12. package/dist/index.d.mts +48 -5
  13. package/dist/index.d.ts +48 -5
  14. package/dist/index.js +807 -316
  15. package/dist/index.js.map +1 -1
  16. package/dist/index.mjs +810 -320
  17. package/dist/index.mjs.map +1 -1
  18. package/dist/theme/default/index.css +175 -119
  19. package/dist/theme/default/index.css.map +1 -1
  20. package/dist/theme/default/index.d.mts +31 -5
  21. package/dist/theme/default/index.d.ts +31 -5
  22. package/dist/theme/default/index.js +4012 -670
  23. package/dist/theme/default/index.js.map +1 -1
  24. package/dist/theme/default/index.mjs +4046 -629
  25. package/dist/theme/default/index.mjs.map +1 -1
  26. package/package.json +22 -15
  27. package/tailwind/generated/default-variables.css +1 -1
  28. package/tsconfig.json +3 -2
  29. package/.storybook/global.css +0 -7
  30. package/.storybook/main.ts +0 -50
  31. package/.storybook/preview-head.html +0 -15
  32. package/.storybook/preview.tsx +0 -68
  33. package/.storybook/public/InterVariable.woff2 +0 -0
  34. package/.storybook/public/inter.css +0 -8
  35. package/.stub-responses/login/1fa/all-methods/initial-form.json +0 -245
  36. package/.stub-responses/login/1fa/all-methods/missing-email.json +0 -263
  37. package/.stub-responses/login/1fa/all-methods/wrong-credentials.json +0 -252
  38. package/.stub-responses/login/1fa/code/code-input.json +0 -135
  39. package/.stub-responses/login/1fa/code/initial-form.json +0 -173
  40. package/.stub-responses/login/1fa/code/invalid-account.json +0 -182
  41. package/.stub-responses/login/1fa/code/missing-email.json +0 -182
  42. package/.stub-responses/login/1fa/code/wrong-credentials.json +0 -124
  43. package/.stub-responses/login/1fa/none/initial-form.json +0 -33
  44. package/.stub-responses/login/1fa/oidc/credential-select-password.json +0 -120
  45. package/.stub-responses/login/1fa/oidc/credential-select.json +0 -81
  46. package/.stub-responses/login/1fa/oidc/initial-form.json +0 -279
  47. package/.stub-responses/login/1fa/passkey/initial-form.json +0 -122
  48. package/.stub-responses/login/1fa/password/initial-form.json +0 -154
  49. package/.stub-responses/login/1fa/password/missing-email.json +0 -172
  50. package/.stub-responses/login/1fa/password/wrong-credentials.json +0 -163
  51. package/.stub-responses/login/1fa/webauthn/initial-form.json +0 -76
  52. package/.stub-responses/login/1fa/webauthn/invalid-account.json +0 -83
  53. package/.stub-responses/login/1fa/webauthn/show-trigger.json +0 -105
  54. package/.stub-responses/recovery/disabled/initial-form.json +0 -9
  55. package/.stub-responses/recovery/none/initial-form.json +0 -9
  56. package/.stub-responses/registration/one-step/all-methods/initial-form.json +0 -334
  57. package/.stub-responses/registration/one-step/all-methods/missing-fields.json +0 -343
  58. package/.stub-responses/registration/one-step/disabled/initial-form.json +0 -10
  59. package/.stub-responses/registration/one-step/none/initial-form.json +0 -14
  60. package/.stub-responses/registration/one-step/oidc/initial-form.json +0 -338
  61. package/.stub-responses/registration/one-step/passkey/initial-form.json +0 -177
  62. package/.stub-responses/registration/one-step/password/initial-form.json +0 -154
  63. package/.stub-responses/registration/one-step/password/missing-fields.json +0 -172
  64. package/.stub-responses/registration/one-step/password/second-step.json +0 -164
  65. package/.stub-responses/registration/one-step/webauthn/initial-form.json +0 -185
  66. package/.stub-responses/registration/two-step/all-methods/enter-password.json +0 -242
  67. package/.stub-responses/registration/two-step/all-methods/initial-form.json +0 -180
  68. package/.stub-responses/registration/two-step/all-methods/missing-fields.json +0 -189
  69. package/.stub-responses/registration/two-step/all-methods/password-validation-error.json +0 -244
  70. package/.stub-responses/registration/two-step/password/enter-password.json +0 -108
  71. package/.stub-responses/registration/two-step/password/initial-form.json +0 -134
  72. package/.stub-responses/registration/two-step/password/missing-fields.json +0 -143
  73. package/.stub-responses/registration/two-step/password/password-validation-error.json +0 -110
  74. package/.stub-responses/settings/all-methods/change-password.json +0 -381
  75. package/.stub-responses/settings/all-methods/change-trait.json +0 -377
  76. package/.stub-responses/settings/all-methods/initial-form.json +0 -368
  77. package/.stub-responses/settings/oidc/with-provider.json +0 -229
  78. package/.stub-responses/settings/passkey/initial-form.json +0 -256
  79. package/.stub-responses/settings/webauthn/initial-form.json +0 -263
  80. package/.stub-responses/verification/disabled/initial-form.json +0 -9
  81. package/.stub-responses/verification/none/initial-form.json +0 -9
  82. package/stories/components/login/1fa/all.stories.ts +0 -46
  83. package/stories/components/login/1fa/code.stories.ts +0 -64
  84. package/stories/components/login/1fa/custom.stories.tsx +0 -74
  85. package/stories/components/login/1fa/none.stories.tsx +0 -28
  86. package/stories/components/login/1fa/oidc.stories.tsx +0 -140
  87. package/stories/components/login/1fa/passkey.stories.ts +0 -28
  88. package/stories/components/login/1fa/password.stories.ts +0 -46
  89. package/stories/components/login/1fa/webauthn.stories.ts +0 -46
  90. package/stories/components/registration/one-step/all-methods.stories.ts +0 -37
  91. package/stories/components/registration/one-step/password.stories.ts +0 -37
  92. package/stories/components/registration/one-step/webauthn.stories.ts +0 -28
  93. package/stories/components/registration/two-step/all-methods.stories.ts +0 -55
  94. package/stories/components/registration/two-step/password.stories.ts +0 -55
  95. package/stories/components/settings/all.stories.ts +0 -46
  96. package/stories/components/settings/oidc.stories.ts +0 -28
  97. package/stories/components/settings/passkey.stories.ts +0 -28
  98. package/stories/components/settings/webauthn.stories.ts +0 -28
  99. package/stories/pages/error.tsx +0 -29
  100. package/stories/utils.ts +0 -20
  101. package/storybook-static/InterVariable.woff2 +0 -0
  102. package/storybook-static/assets/Color-ERTF36HU-BdkKyVuV.js +0 -1
  103. package/storybook-static/assets/DocsRenderer-CFRXHY34-YqKt61zP.js +0 -595
  104. package/storybook-static/assets/all-methods.stories-B-rqPBX2.js +0 -11
  105. package/storybook-static/assets/all-methods.stories-CmMlhzsx.js +0 -21
  106. package/storybook-static/assets/all.stories-CtQ0yCQi.js +0 -16
  107. package/storybook-static/assets/all.stories-DgIVCzcZ.js +0 -16
  108. package/storybook-static/assets/chunk-H6MOWX77-DTQOW814.js +0 -1
  109. package/storybook-static/assets/code.stories-BbEryDcA.js +0 -26
  110. package/storybook-static/assets/custom.stories-DH2zHar9.js +0 -6
  111. package/storybook-static/assets/entry-preview-CcFGVifh.js +0 -10
  112. package/storybook-static/assets/entry-preview-docs-CyY-8bLe.js +0 -54
  113. package/storybook-static/assets/iframe-C5GAfuxh.js +0 -2
  114. package/storybook-static/assets/index-BVoBHvaS.js +0 -8
  115. package/storybook-static/assets/index-CfOt2XX2.js +0 -24
  116. package/storybook-static/assets/index-DPRSEdy-.js +0 -1
  117. package/storybook-static/assets/index-DrFu-skq.js +0 -6
  118. package/storybook-static/assets/index-FeUjBnvO.js +0 -1
  119. package/storybook-static/assets/index-uubelm5h.js +0 -9
  120. package/storybook-static/assets/initial-form-DWp_1F-f.js +0 -1
  121. package/storybook-static/assets/jsx-runtime-QvZ8i92b.js +0 -9
  122. package/storybook-static/assets/none.stories-TAeRhzd5.js +0 -6
  123. package/storybook-static/assets/oidc.stories-CniWBy7t.js +0 -58
  124. package/storybook-static/assets/oidc.stories-jhWzAyoQ.js +0 -6
  125. package/storybook-static/assets/passkey.stories-CBtjoVSN.js +0 -6
  126. package/storybook-static/assets/passkey.stories-CQU2Xw_t.js +0 -6
  127. package/storybook-static/assets/password.stories-0s6cDl0o.js +0 -11
  128. package/storybook-static/assets/password.stories-B2Wtckz_.js +0 -16
  129. package/storybook-static/assets/password.stories-DX0gkWjH.js +0 -21
  130. package/storybook-static/assets/preview-BBWR9nbA.js +0 -1
  131. package/storybook-static/assets/preview-BPAmP-pY.js +0 -2
  132. package/storybook-static/assets/preview-BWzBA1C2.js +0 -396
  133. package/storybook-static/assets/preview-BXtF2ySE.js +0 -234
  134. package/storybook-static/assets/preview-Cur_8nCX.css +0 -1
  135. package/storybook-static/assets/preview-D77C14du.js +0 -34
  136. package/storybook-static/assets/preview-DCjDUH0w.js +0 -27
  137. package/storybook-static/assets/preview-DFmD0pui.js +0 -1
  138. package/storybook-static/assets/preview-DGUiP6tS.js +0 -7
  139. package/storybook-static/assets/preview-aVwhiz9X.js +0 -1
  140. package/storybook-static/assets/react-18-CtsMCmcS.js +0 -1
  141. package/storybook-static/assets/settings-BqEFC2-V.css +0 -1
  142. package/storybook-static/assets/settings-Bx4osEmB.js +0 -2304
  143. package/storybook-static/assets/webauthn.stories-BzodmV0c.js +0 -6
  144. package/storybook-static/assets/webauthn.stories-DglGm7Ys.js +0 -6
  145. package/storybook-static/assets/webauthn.stories-G9E76Wjj.js +0 -16
  146. package/storybook-static/favicon.svg +0 -1
  147. package/storybook-static/iframe.html +0 -654
  148. package/storybook-static/index.html +0 -173
  149. package/storybook-static/index.json +0 -1
  150. package/storybook-static/inter.css +0 -8
  151. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  152. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  153. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  154. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  155. package/storybook-static/preview-stats.json +0 -2344
  156. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +0 -3
  157. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
  158. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +0 -12
  159. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
  160. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +0 -394
  161. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -0
  162. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +0 -3
  163. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
  164. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +0 -3
  165. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
  166. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +0 -3
  167. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
  168. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +0 -3
  169. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
  170. package/storybook-static/sb-addons/interactions-8/manager-bundle.js +0 -211
  171. package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
  172. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +0 -3
  173. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
  174. package/storybook-static/sb-common-assets/favicon.svg +0 -1
  175. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  176. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  177. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  178. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  179. package/storybook-static/sb-manager/globals-module-info.js +0 -1006
  180. package/storybook-static/sb-manager/globals-runtime.js +0 -54400
  181. package/storybook-static/sb-manager/globals.js +0 -48
  182. package/storybook-static/sb-manager/runtime.js +0 -12089
  183. package/storybook-static/sb-preview/globals.js +0 -33
  184. package/storybook-static/sb-preview/runtime.js +0 -9498
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ory/elements-react",
3
- "version": "0.0.0-pr.e3d2b7e1",
3
+ "version": "0.0.0-pr.f1435f4",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",
@@ -41,29 +41,36 @@
41
41
  "module": "./dist/index.mjs",
42
42
  "types": "./dist/index.d.ts",
43
43
  "dependencies": {
44
- "@ory/client-fetch": "~1.16.1",
45
- "@radix-ui/react-dropdown-menu": "2.1.2",
46
- "class-variance-authority": "0.7.0",
44
+ "@marsidev/react-turnstile": "^1.1.0",
45
+ "@ory/client-fetch": "~1.20.0",
46
+ "@radix-ui/react-dropdown-menu": "2.1.7",
47
+ "@radix-ui/react-switch": "1.1.4",
48
+ "class-variance-authority": "0.7.1",
47
49
  "clsx": "2.1.1",
48
- "input-otp": "1.2.4",
49
- "react-hook-form": "7.53.0",
50
- "react-intl": "6.7.0",
51
- "tailwind-merge": "2.5.2",
52
- "zustand": "5.0.0"
50
+ "input-otp": "1.4.2",
51
+ "react-hook-form": "7.55.0",
52
+ "react-intl": "7.1.10",
53
+ "tailwind-merge": "3.2.0",
54
+ "usehooks-ts": "3.1.1",
55
+ "zustand": "5.0.3"
53
56
  },
54
57
  "peerDependencies": {
55
- "react": "18.3.1",
56
- "react-dom": "18.3.1"
58
+ "react": "^18.0.0 || ^19.0.0 || ^19.0.0-0",
59
+ "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-0"
57
60
  },
58
61
  "devDependencies": {
59
- "@hookform/devtools": "4.3.1",
62
+ "@babel/core": "^7.26.9",
63
+ "@babel/preset-env": "^7.26.9",
64
+ "@babel/preset-react": "^7.26.3",
65
+ "@hookform/devtools": "4.4.0",
60
66
  "@svgr/plugin-svgo": "8.1.0",
61
67
  "@types/lodash.merge": "4.6.9",
62
- "esbuild-plugin-svgr": "3.0.0",
63
- "eslint-plugin-react": "7.37.1",
68
+ "autoprefixer": "10.4.21",
69
+ "esbuild-plugin-svgr": "3.1.1",
70
+ "eslint-plugin-react": "7.37.5",
64
71
  "postcss": "8.4.47",
65
72
  "tailwindcss-animate": "1.0.7",
66
- "tsup": "8.3.0"
73
+ "tsup": "8.4.0"
67
74
  },
68
75
  "keywords": [
69
76
  "ory",
@@ -14,7 +14,7 @@
14
14
  --ui-900: #0f172a;
15
15
  --ui-950: #020617;
16
16
  --ui-black: #000000;
17
- --ui-danger: #ef4444;
17
+ --ui-danger: #dc2626;
18
18
  --ui-success: #22c55e;
19
19
  --ui-transparent: #ffffff00;
20
20
  --ui-warning: #eab308;
package/tsconfig.json CHANGED
@@ -27,9 +27,10 @@
27
27
  "include": [
28
28
  "**/*.ts",
29
29
  "**/*.tsx",
30
- "src/global.d.ts",
30
+ "src/theme/default/assets/global.d.ts",
31
31
  "tsup.config.ts",
32
32
  "jest.config.ts",
33
- "tailwind.config.ts"
33
+ "tailwind.config.ts",
34
+ ".storybook/**/*.ts"
34
35
  ]
35
36
  }
@@ -1,7 +0,0 @@
1
- /* Copyright © 2024 Ory Corp */
2
- /* SPDX-License-Identifier: Apache-2.0 */
3
-
4
- html {
5
- --font-sans: "InterVariable", "Helvetica Neue", "Helvetica", "Arial",
6
- sans-serif;
7
- }
@@ -1,50 +0,0 @@
1
- // Copyright © 2024 Ory Corp
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- import type { StorybookConfig } from "@storybook/react-vite"
5
-
6
- import path from "path"
7
- import { mergeConfig } from "vite"
8
- import vitePluginRequire from "vite-plugin-require"
9
- import svgr from "vite-plugin-svgr"
10
-
11
- const config: StorybookConfig = {
12
- stories: ["../**/*.stories.@(ts|tsx)"],
13
- addons: ["@storybook/addon-essentials", "@storybook/addon-interactions"],
14
- framework: {
15
- name: "@storybook/react-vite",
16
- options: {},
17
- },
18
- staticDirs: ["./public"],
19
-
20
- viteFinal: (config) => {
21
- return mergeConfig(config, {
22
- plugins: [
23
- vitePluginRequire(),
24
- svgr({
25
- include: "**/*.svg",
26
- svgrOptions: {
27
- svgProps: {
28
- width: "{props?.width ? props.width : props?.size ?? 20}",
29
- height: "{props?.height ? props.height : props?.size ?? 20}",
30
- },
31
- },
32
- }),
33
- ],
34
- resolve: {
35
- alias: [
36
- {
37
- find: "$snapshots",
38
- replacement: path.resolve(__dirname, "../.stub-responses"),
39
- },
40
- {
41
- find: "@ory/elements-react",
42
- replacement: path.resolve(__dirname, "../src"),
43
- },
44
- ],
45
- },
46
- })
47
- },
48
- }
49
-
50
- export default config
@@ -1,15 +0,0 @@
1
- <!-- Copyright © 2024 Ory Corp -->
2
- <!-- SPDX-License-Identifier: Apache-2.0 -->
3
-
4
- <link
5
- rel="preload"
6
- href="/InterVariable.woff2?v=4.1"
7
- as="font"
8
- type="font/woff2"
9
- crossorigin="anonymous"
10
- />
11
- <link rel="stylesheet" href="/inter.css" />
12
-
13
- <script>
14
- window.oryPasskeyLoginAutocompleteInit = function () {}
15
- </script>
@@ -1,68 +0,0 @@
1
- // Copyright © 2024 Ory Corp
2
- // SPDX-License-Identifier: Apache-2.0
3
-
4
- import type { Decorator, Preview } from "@storybook/react"
5
- import { merge } from "lodash"
6
- import "./global.css"
7
-
8
- const preview: Preview = {
9
- parameters: {
10
- backgrounds: {
11
- default: "light",
12
- values: [
13
- { name: "light", value: "#f5f5f5" },
14
- { name: "dark", value: "#333333" },
15
- ],
16
- },
17
- actions: { argTypesRegex: "^on[A-Z].*" },
18
- controls: {
19
- matchers: {
20
- color: /(background|color)$/i,
21
- date: /Date$/i,
22
- },
23
- },
24
- },
25
- }
26
-
27
- const withI18next: Decorator = (Story, context) => {
28
- const { locale } = context.globals
29
-
30
- return (
31
- <Story
32
- args={merge(
33
- {},
34
- {
35
- config: {
36
- intl: {
37
- locale: locale && typeof locale === "string" ? locale : "en",
38
- },
39
- },
40
- },
41
- context.args,
42
- )}
43
- />
44
- )
45
- }
46
-
47
- // export decorators for storybook to wrap your stories in
48
- export const decorators = [withI18next]
49
-
50
- export const globalTypes = {
51
- locale: {
52
- name: "Locale",
53
- description: "Internationalization locale",
54
- toolbar: {
55
- icon: "globe",
56
- items: [
57
- { value: "en", title: "English" },
58
- { value: "de", title: "German" },
59
- { value: "sv", title: "Swedish" },
60
- { value: "fr", title: "French" },
61
- { value: "es", title: "Spanish" },
62
- ],
63
- showName: true,
64
- },
65
- },
66
- }
67
-
68
- export default preview
@@ -1,8 +0,0 @@
1
-
2
- @font-face {
3
- font-family: InterVariable;
4
- font-style: normal;
5
- font-weight: 100 900;
6
- font-display: swap;
7
- src: url('/InterVariable.woff2?v=4.1') format('woff2');
8
- }
@@ -1,245 +0,0 @@
1
- {
2
- "id": "016008b4-3049-4e0e-8d4f-5c4208e44612",
3
- "organization_id": null,
4
- "type": "browser",
5
- "expires_at": "2025-02-26T09:31:47.055502838Z",
6
- "issued_at": "2025-02-26T08:31:47.055502838Z",
7
- "request_url": "https://mystifying-goldberg-xybn3ucb9j.projects.oryapis:8080/self-service/login/browser",
8
- "ui": {
9
- "action": "https://mystifying-goldberg-xybn3ucb9j.projects.oryapis:8080/self-service/login?flow=016008b4-3049-4e0e-8d4f-5c4208e44612",
10
- "method": "POST",
11
- "nodes": [
12
- {
13
- "type": "input",
14
- "group": "oidc",
15
- "attributes": {
16
- "name": "provider",
17
- "type": "submit",
18
- "value": "github",
19
- "disabled": false,
20
- "node_type": "input"
21
- },
22
- "messages": [],
23
- "meta": {
24
- "label": {
25
- "id": 1010002,
26
- "text": "Sign in with GitHub",
27
- "type": "info",
28
- "context": {
29
- "provider": "GitHub",
30
- "provider_id": "github"
31
- }
32
- }
33
- }
34
- },
35
- {
36
- "type": "input",
37
- "group": "oidc",
38
- "attributes": {
39
- "name": "provider",
40
- "type": "submit",
41
- "value": "google",
42
- "disabled": false,
43
- "node_type": "input"
44
- },
45
- "messages": [],
46
- "meta": {
47
- "label": {
48
- "id": 1010002,
49
- "text": "Sign in with Google",
50
- "type": "info",
51
- "context": {
52
- "provider": "Google",
53
- "provider_id": "google"
54
- }
55
- }
56
- }
57
- },
58
- {
59
- "type": "input",
60
- "group": "default",
61
- "attributes": {
62
- "name": "csrf_token",
63
- "type": "hidden",
64
- "value": "4NM/a8PzMhk7DvlP5Q60eht/uuXaPMb2AEW0K4tjvLvz7mUtHaeHgemELe7xZGpmYfqNGCwirNvR8W3L8iXPug==",
65
- "required": true,
66
- "disabled": false,
67
- "node_type": "input"
68
- },
69
- "messages": [],
70
- "meta": {}
71
- },
72
- {
73
- "type": "input",
74
- "group": "default",
75
- "attributes": {
76
- "name": "identifier",
77
- "type": "text",
78
- "value": "",
79
- "required": true,
80
- "autocomplete": "username webauthn",
81
- "disabled": false,
82
- "node_type": "input"
83
- },
84
- "messages": [],
85
- "meta": {
86
- "label": {
87
- "id": 1070002,
88
- "text": "E-Mail",
89
- "type": "info",
90
- "context": {
91
- "title": "E-Mail"
92
- }
93
- }
94
- }
95
- },
96
- {
97
- "type": "script",
98
- "group": "webauthn",
99
- "attributes": {
100
- "src": "https://mystifying-goldberg-xybn3ucb9j.projects.oryapis:8080/.well-known/ory/webauthn.js",
101
- "async": true,
102
- "referrerpolicy": "no-referrer",
103
- "crossorigin": "anonymous",
104
- "integrity": "sha512-GJndj+bkFBMHiun3qBMmFh5eeGodY/eSh8tg50xHcNEdOBCIKnlofYd2slaBTtVpyI4opfkMc/zw+nwBjGdAbw==",
105
- "type": "text/javascript",
106
- "id": "webauthn_script",
107
- "nonce": "de1ec7c0-01a5-4b79-a229-ee1667a940ab",
108
- "node_type": "script"
109
- },
110
- "messages": [],
111
- "meta": {}
112
- },
113
- {
114
- "type": "input",
115
- "group": "webauthn",
116
- "attributes": {
117
- "name": "method",
118
- "type": "submit",
119
- "value": "webauthn",
120
- "disabled": false,
121
- "node_type": "input"
122
- },
123
- "messages": [],
124
- "meta": {
125
- "label": {
126
- "id": 1010008,
127
- "text": "Sign in with hardware key",
128
- "type": "info"
129
- }
130
- }
131
- },
132
- {
133
- "type": "input",
134
- "group": "passkey",
135
- "attributes": {
136
- "name": "passkey_login_trigger",
137
- "type": "button",
138
- "value": "",
139
- "disabled": false,
140
- "onclick": "window.oryPasskeyLogin()",
141
- "onclickTrigger": "oryPasskeyLogin",
142
- "node_type": "input"
143
- },
144
- "messages": [],
145
- "meta": {
146
- "label": {
147
- "id": 1010021,
148
- "text": "Sign in with passkey",
149
- "type": "info"
150
- }
151
- }
152
- },
153
- {
154
- "type": "input",
155
- "group": "passkey",
156
- "attributes": {
157
- "name": "passkey_login",
158
- "type": "hidden",
159
- "disabled": false,
160
- "onload": "window.oryPasskeyLoginAutocompleteInit()",
161
- "onloadTrigger": "oryPasskeyLoginAutocompleteInit",
162
- "node_type": "input"
163
- },
164
- "messages": [],
165
- "meta": {}
166
- },
167
- {
168
- "type": "input",
169
- "group": "passkey",
170
- "attributes": {
171
- "name": "passkey_challenge",
172
- "type": "hidden",
173
- "value": "{\"publicKey\":{\"challenge\":\"2FqHYunJFg6GFca7mwfRcfOgQVR6BozCk8_pfHfPnwQ\",\"timeout\":300000,\"rpId\":\"mystifying-goldberg-xybn3ucb9j.projects.oryapis\",\"userVerification\":\"preferred\"}}",
174
- "disabled": false,
175
- "node_type": "input"
176
- },
177
- "messages": [],
178
- "meta": {}
179
- },
180
- {
181
- "type": "input",
182
- "group": "code",
183
- "attributes": {
184
- "name": "method",
185
- "type": "submit",
186
- "value": "code",
187
- "disabled": false,
188
- "node_type": "input"
189
- },
190
- "messages": [],
191
- "meta": {
192
- "label": {
193
- "id": 1010015,
194
- "text": "Send sign in code",
195
- "type": "info"
196
- }
197
- }
198
- },
199
- {
200
- "type": "input",
201
- "group": "password",
202
- "attributes": {
203
- "name": "password",
204
- "type": "password",
205
- "required": true,
206
- "autocomplete": "current-password",
207
- "disabled": false,
208
- "node_type": "input"
209
- },
210
- "messages": [],
211
- "meta": {
212
- "label": {
213
- "id": 1070001,
214
- "text": "Password",
215
- "type": "info"
216
- }
217
- }
218
- },
219
- {
220
- "type": "input",
221
- "group": "password",
222
- "attributes": {
223
- "name": "method",
224
- "type": "submit",
225
- "value": "password",
226
- "disabled": false,
227
- "node_type": "input"
228
- },
229
- "messages": [],
230
- "meta": {
231
- "label": {
232
- "id": 1010022,
233
- "text": "Sign in with password",
234
- "type": "info"
235
- }
236
- }
237
- }
238
- ]
239
- },
240
- "created_at": "2025-02-26T08:31:47.062203Z",
241
- "updated_at": "2025-02-26T08:31:47.062203Z",
242
- "refresh": false,
243
- "requested_aal": "aal1",
244
- "state": "choose_method"
245
- }