@ory/elements-react 1.0.0-next.24 → 1.0.0-next.27

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 (180) hide show
  1. package/.storybook/global.css +7 -0
  2. package/.storybook/main.ts +50 -0
  3. package/.storybook/preview-head.html +15 -0
  4. package/.storybook/preview.tsx +68 -0
  5. package/.storybook/public/InterVariable.woff2 +0 -0
  6. package/.storybook/public/inter.css +8 -0
  7. package/.stub-responses/login/1fa/all-methods/initial-form.json +247 -0
  8. package/.stub-responses/login/1fa/all-methods/missing-email.json +265 -0
  9. package/.stub-responses/login/1fa/all-methods/wrong-credentials.json +254 -0
  10. package/.stub-responses/login/1fa/code/code-input.json +135 -0
  11. package/.stub-responses/login/1fa/code/initial-form.json +173 -0
  12. package/.stub-responses/login/1fa/code/invalid-account.json +182 -0
  13. package/.stub-responses/login/1fa/code/missing-email.json +182 -0
  14. package/.stub-responses/login/1fa/code/wrong-credentials.json +124 -0
  15. package/.stub-responses/login/1fa/none/initial-form.json +33 -0
  16. package/.stub-responses/login/1fa/oidc/initial-form.json +279 -0
  17. package/.stub-responses/login/1fa/passkey/initial-form.json +122 -0
  18. package/.stub-responses/login/1fa/password/initial-form.json +154 -0
  19. package/.stub-responses/login/1fa/password/missing-email.json +172 -0
  20. package/.stub-responses/login/1fa/password/wrong-credentials.json +163 -0
  21. package/.stub-responses/login/1fa/webauthn/initial-form.json +76 -0
  22. package/.stub-responses/login/1fa/webauthn/invalid-account.json +83 -0
  23. package/.stub-responses/login/1fa/webauthn/show-trigger.json +105 -0
  24. package/.stub-responses/recovery/disabled/initial-form.json +9 -0
  25. package/.stub-responses/recovery/none/initial-form.json +9 -0
  26. package/.stub-responses/registration/one-step/all-methods/initial-form.json +334 -0
  27. package/.stub-responses/registration/one-step/all-methods/missing-fields.json +343 -0
  28. package/.stub-responses/registration/one-step/disabled/initial-form.json +10 -0
  29. package/.stub-responses/registration/one-step/none/initial-form.json +14 -0
  30. package/.stub-responses/registration/one-step/oidc/initial-form.json +338 -0
  31. package/.stub-responses/registration/one-step/passkey/initial-form.json +177 -0
  32. package/.stub-responses/registration/one-step/password/initial-form.json +154 -0
  33. package/.stub-responses/registration/one-step/password/missing-fields.json +172 -0
  34. package/.stub-responses/registration/one-step/password/second-step.json +164 -0
  35. package/.stub-responses/registration/one-step/webauthn/initial-form.json +185 -0
  36. package/.stub-responses/registration/two-step/all-methods/enter-password.json +242 -0
  37. package/.stub-responses/registration/two-step/all-methods/initial-form.json +180 -0
  38. package/.stub-responses/registration/two-step/all-methods/missing-fields.json +189 -0
  39. package/.stub-responses/registration/two-step/all-methods/password-validation-error.json +244 -0
  40. package/.stub-responses/registration/two-step/password/enter-password.json +108 -0
  41. package/.stub-responses/registration/two-step/password/initial-form.json +134 -0
  42. package/.stub-responses/registration/two-step/password/missing-fields.json +143 -0
  43. package/.stub-responses/registration/two-step/password/password-validation-error.json +110 -0
  44. package/.stub-responses/settings/all-methods/change-password.json +381 -0
  45. package/.stub-responses/settings/all-methods/change-trait.json +377 -0
  46. package/.stub-responses/settings/all-methods/initial-form.json +368 -0
  47. package/.stub-responses/settings/oidc/with-provider.json +230 -0
  48. package/.stub-responses/settings/passkey/initial-form.json +256 -0
  49. package/.stub-responses/settings/webauthn/initial-form.json +263 -0
  50. package/.stub-responses/verification/disabled/initial-form.json +9 -0
  51. package/.stub-responses/verification/none/initial-form.json +9 -0
  52. package/CHANGELOG.md +47 -0
  53. package/dist/index.d.mts +3 -3
  54. package/dist/index.d.ts +3 -3
  55. package/dist/index.js +2103 -2047
  56. package/dist/index.js.map +1 -1
  57. package/dist/index.mjs +2103 -2047
  58. package/dist/index.mjs.map +1 -1
  59. package/dist/theme/default/index.css +259 -106
  60. package/dist/theme/default/index.css.map +1 -1
  61. package/dist/theme/default/index.js +69 -41
  62. package/dist/theme/default/index.js.map +1 -1
  63. package/dist/theme/default/index.mjs +69 -41
  64. package/dist/theme/default/index.mjs.map +1 -1
  65. package/dist/theme/default/tailwind/defaults.js +219 -0
  66. package/dist/theme/default/tailwind/defaults.js.map +1 -0
  67. package/dist/theme/default/tailwind/defaults.mjs +196 -0
  68. package/dist/theme/default/tailwind/defaults.mjs.map +1 -0
  69. package/package.json +7 -2
  70. package/stories/components/login/1fa/all.stories.ts +46 -0
  71. package/stories/components/login/1fa/code.stories.ts +64 -0
  72. package/stories/components/login/1fa/custom.stories.tsx +72 -0
  73. package/stories/components/login/1fa/none.stories.tsx +28 -0
  74. package/stories/components/login/1fa/oidc.stories.tsx +143 -0
  75. package/stories/components/login/1fa/passkey.stories.ts +28 -0
  76. package/stories/components/login/1fa/password.stories.ts +46 -0
  77. package/stories/components/login/1fa/webauthn.stories.ts +46 -0
  78. package/stories/components/registration/one-step/all-methods.stories.ts +37 -0
  79. package/stories/components/registration/one-step/password.stories.ts +37 -0
  80. package/stories/components/registration/one-step/webauthn.stories.ts +28 -0
  81. package/stories/components/registration/two-step/all-methods.stories.ts +55 -0
  82. package/stories/components/registration/two-step/password.stories.ts +55 -0
  83. package/stories/components/settings/all.stories.ts +46 -0
  84. package/stories/components/settings/oidc.stories.ts +28 -0
  85. package/stories/components/settings/passkey.stories.ts +28 -0
  86. package/stories/components/settings/webauthn.stories.ts +28 -0
  87. package/stories/pages/error.tsx +29 -0
  88. package/stories/utils.ts +20 -0
  89. package/storybook-static/InterVariable.woff2 +0 -0
  90. package/storybook-static/assets/Color-ERTF36HU-BdkKyVuV.js +1 -0
  91. package/storybook-static/assets/DocsRenderer-CFRXHY34-YqKt61zP.js +595 -0
  92. package/storybook-static/assets/all-methods.stories-B-rqPBX2.js +11 -0
  93. package/storybook-static/assets/all-methods.stories-CmMlhzsx.js +21 -0
  94. package/storybook-static/assets/all.stories-CtQ0yCQi.js +16 -0
  95. package/storybook-static/assets/all.stories-DgIVCzcZ.js +16 -0
  96. package/storybook-static/assets/chunk-H6MOWX77-DTQOW814.js +1 -0
  97. package/storybook-static/assets/code.stories-BbEryDcA.js +26 -0
  98. package/storybook-static/assets/custom.stories-DH2zHar9.js +6 -0
  99. package/storybook-static/assets/entry-preview-CcFGVifh.js +10 -0
  100. package/storybook-static/assets/entry-preview-docs-CyY-8bLe.js +54 -0
  101. package/storybook-static/assets/iframe-C5GAfuxh.js +2 -0
  102. package/storybook-static/assets/index-BVoBHvaS.js +8 -0
  103. package/storybook-static/assets/index-CfOt2XX2.js +24 -0
  104. package/storybook-static/assets/index-DPRSEdy-.js +1 -0
  105. package/storybook-static/assets/index-DrFu-skq.js +6 -0
  106. package/storybook-static/assets/index-FeUjBnvO.js +1 -0
  107. package/storybook-static/assets/index-uubelm5h.js +9 -0
  108. package/storybook-static/assets/initial-form-DWp_1F-f.js +1 -0
  109. package/storybook-static/assets/jsx-runtime-QvZ8i92b.js +9 -0
  110. package/storybook-static/assets/none.stories-TAeRhzd5.js +6 -0
  111. package/storybook-static/assets/oidc.stories-CniWBy7t.js +58 -0
  112. package/storybook-static/assets/oidc.stories-jhWzAyoQ.js +6 -0
  113. package/storybook-static/assets/passkey.stories-CBtjoVSN.js +6 -0
  114. package/storybook-static/assets/passkey.stories-CQU2Xw_t.js +6 -0
  115. package/storybook-static/assets/password.stories-0s6cDl0o.js +11 -0
  116. package/storybook-static/assets/password.stories-B2Wtckz_.js +16 -0
  117. package/storybook-static/assets/password.stories-DX0gkWjH.js +21 -0
  118. package/storybook-static/assets/preview-BBWR9nbA.js +1 -0
  119. package/storybook-static/assets/preview-BPAmP-pY.js +2 -0
  120. package/storybook-static/assets/preview-BWzBA1C2.js +396 -0
  121. package/storybook-static/assets/preview-BXtF2ySE.js +234 -0
  122. package/storybook-static/assets/preview-Cur_8nCX.css +1 -0
  123. package/storybook-static/assets/preview-D77C14du.js +34 -0
  124. package/storybook-static/assets/preview-DCjDUH0w.js +27 -0
  125. package/storybook-static/assets/preview-DFmD0pui.js +1 -0
  126. package/storybook-static/assets/preview-DGUiP6tS.js +7 -0
  127. package/storybook-static/assets/preview-aVwhiz9X.js +1 -0
  128. package/storybook-static/assets/react-18-CtsMCmcS.js +1 -0
  129. package/storybook-static/assets/settings-BqEFC2-V.css +1 -0
  130. package/storybook-static/assets/settings-Bx4osEmB.js +2304 -0
  131. package/storybook-static/assets/webauthn.stories-BzodmV0c.js +6 -0
  132. package/storybook-static/assets/webauthn.stories-DglGm7Ys.js +6 -0
  133. package/storybook-static/assets/webauthn.stories-G9E76Wjj.js +16 -0
  134. package/storybook-static/favicon.svg +1 -0
  135. package/storybook-static/iframe.html +654 -0
  136. package/storybook-static/index.html +173 -0
  137. package/storybook-static/index.json +1 -0
  138. package/storybook-static/inter.css +8 -0
  139. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  140. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  141. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  142. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  143. package/storybook-static/preview-stats.json +2344 -0
  144. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
  145. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
  146. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +12 -0
  147. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
  148. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +394 -0
  149. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -0
  150. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +3 -0
  151. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
  152. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +3 -0
  153. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
  154. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +3 -0
  155. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
  156. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +3 -0
  157. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
  158. package/storybook-static/sb-addons/interactions-8/manager-bundle.js +211 -0
  159. package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
  160. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
  161. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
  162. package/storybook-static/sb-common-assets/favicon.svg +1 -0
  163. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  164. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  165. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  166. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  167. package/storybook-static/sb-manager/globals-module-info.js +1006 -0
  168. package/storybook-static/sb-manager/globals-runtime.js +54400 -0
  169. package/storybook-static/sb-manager/globals.js +48 -0
  170. package/storybook-static/sb-manager/runtime.js +12089 -0
  171. package/storybook-static/sb-preview/globals.js +33 -0
  172. package/storybook-static/sb-preview/runtime.js +9498 -0
  173. package/tailwind/defaults.ts +34 -0
  174. package/tailwind/generated/README.md +2 -0
  175. package/tailwind/generated/default-variables.css +216 -0
  176. package/tailwind/generated/variables-processed.json +161 -0
  177. package/tsconfig.json +2 -3
  178. package/tsconfig.runtime.json +4 -0
  179. package/tsconfig.test.json +0 -9
  180. package/variables-processed.json +0 -391
@@ -0,0 +1,172 @@
1
+ {
2
+ "id": "c713a293-47c4-4605-8605-40127751083b",
3
+ "type": "browser",
4
+ "expires_at": "2024-10-29T10:45:42.152426Z",
5
+ "issued_at": "2024-10-29T09:45:42.152426Z",
6
+ "request_url": "https://serene-archimedes-edlkt7nkyd.projects.oryapis:8080/self-service/registration/browser",
7
+ "ui": {
8
+ "action": "https://serene-archimedes-edlkt7nkyd.projects.oryapis:8080/self-service/registration?flow=c713a293-47c4-4605-8605-40127751083b",
9
+ "method": "POST",
10
+ "nodes": [
11
+ {
12
+ "type": "input",
13
+ "group": "default",
14
+ "attributes": {
15
+ "name": "csrf_token",
16
+ "type": "hidden",
17
+ "value": "b4t2jzkWsZ67gMxwZ1WDdbblCPkF8Lkryka4hNK8Dpz8RDvpmn1Hy0ZYC/n6NoKUc0InKUu/aZ9pjtQ78QAPbQ==",
18
+ "required": true,
19
+ "disabled": false,
20
+ "node_type": "input"
21
+ },
22
+ "messages": [],
23
+ "meta": {}
24
+ },
25
+ {
26
+ "type": "input",
27
+ "group": "password",
28
+ "attributes": {
29
+ "name": "traits.email",
30
+ "type": "email",
31
+ "required": true,
32
+ "autocomplete": "email",
33
+ "disabled": false,
34
+ "node_type": "input"
35
+ },
36
+ "messages": [
37
+ {
38
+ "id": 4000002,
39
+ "text": "Property email is missing.",
40
+ "type": "error",
41
+ "context": {
42
+ "property": "email"
43
+ }
44
+ }
45
+ ],
46
+ "meta": {
47
+ "label": {
48
+ "id": 1070002,
49
+ "text": "E-Mail",
50
+ "type": "info",
51
+ "context": {
52
+ "title": "E-Mail"
53
+ }
54
+ }
55
+ }
56
+ },
57
+ {
58
+ "type": "input",
59
+ "group": "password",
60
+ "attributes": {
61
+ "name": "password",
62
+ "type": "password",
63
+ "required": true,
64
+ "autocomplete": "new-password",
65
+ "disabled": false,
66
+ "node_type": "input"
67
+ },
68
+ "messages": [
69
+ {
70
+ "id": 4000002,
71
+ "text": "Property password is missing.",
72
+ "type": "error",
73
+ "context": {
74
+ "property": "password"
75
+ }
76
+ }
77
+ ],
78
+ "meta": {
79
+ "label": {
80
+ "id": 1070001,
81
+ "text": "Password",
82
+ "type": "info"
83
+ }
84
+ }
85
+ },
86
+ {
87
+ "type": "input",
88
+ "group": "password",
89
+ "attributes": {
90
+ "name": "traits.tos",
91
+ "type": "checkbox",
92
+ "disabled": false,
93
+ "node_type": "input"
94
+ },
95
+ "messages": [],
96
+ "meta": {
97
+ "label": {
98
+ "id": 1070002,
99
+ "text": "Accept the terms of service",
100
+ "type": "info",
101
+ "context": {
102
+ "title": "Accept the terms of service"
103
+ }
104
+ }
105
+ }
106
+ },
107
+ {
108
+ "type": "input",
109
+ "group": "password",
110
+ "attributes": {
111
+ "name": "traits.phone",
112
+ "type": "text",
113
+ "disabled": false,
114
+ "node_type": "input"
115
+ },
116
+ "messages": [],
117
+ "meta": {
118
+ "label": {
119
+ "id": 1070002,
120
+ "text": "Phone Number",
121
+ "type": "info",
122
+ "context": {
123
+ "title": "Phone Number"
124
+ }
125
+ }
126
+ }
127
+ },
128
+ {
129
+ "type": "input",
130
+ "group": "password",
131
+ "attributes": {
132
+ "name": "traits.nested.name",
133
+ "type": "text",
134
+ "disabled": false,
135
+ "node_type": "input"
136
+ },
137
+ "messages": [],
138
+ "meta": {
139
+ "label": {
140
+ "id": 1070002,
141
+ "text": "Name",
142
+ "type": "info",
143
+ "context": {
144
+ "title": "Name"
145
+ }
146
+ }
147
+ }
148
+ },
149
+ {
150
+ "type": "input",
151
+ "group": "password",
152
+ "attributes": {
153
+ "name": "method",
154
+ "type": "submit",
155
+ "value": "password",
156
+ "disabled": false,
157
+ "node_type": "input"
158
+ },
159
+ "messages": [],
160
+ "meta": {
161
+ "label": {
162
+ "id": 1040001,
163
+ "text": "Sign up",
164
+ "type": "info"
165
+ }
166
+ }
167
+ }
168
+ ]
169
+ },
170
+ "organization_id": null,
171
+ "state": "choose_method"
172
+ }
@@ -0,0 +1,164 @@
1
+ {
2
+ "id": "1ea4a0fe-3701-4826-a886-97cf6f2753a9",
3
+ "type": "browser",
4
+ "expires_at": "2024-04-25T10:45:22.581042Z",
5
+ "issued_at": "2024-04-25T09:45:22.581042Z",
6
+ "request_url": "https://gifted-kare-8o2xaegkze.projects.oryapis:8080/self-service/registration/browser",
7
+ "ui": {
8
+ "action": "https://gifted-kare-8o2xaegkze.projects.oryapis:8080/self-service/registration?flow=1ea4a0fe-3701-4826-a886-97cf6f2753a9",
9
+ "method": "POST",
10
+ "nodes": [
11
+ {
12
+ "type": "input",
13
+ "group": "default",
14
+ "attributes": {
15
+ "name": "traits.email",
16
+ "type": "email",
17
+ "required": true,
18
+ "autocomplete": "email",
19
+ "disabled": false,
20
+ "node_type": "input"
21
+ },
22
+ "messages": [
23
+ {
24
+ "id": 4000002,
25
+ "text": "Property email is missing.",
26
+ "type": "error",
27
+ "context": {
28
+ "property": "email"
29
+ }
30
+ }
31
+ ],
32
+ "meta": {
33
+ "label": {
34
+ "id": 1070002,
35
+ "text": "E-Mail",
36
+ "type": "info",
37
+ "context": {
38
+ "title": "E-Mail"
39
+ }
40
+ }
41
+ }
42
+ },
43
+ {
44
+ "type": "input",
45
+ "group": "default",
46
+ "attributes": {
47
+ "name": "password",
48
+ "type": "text",
49
+ "disabled": false,
50
+ "node_type": "input"
51
+ },
52
+ "messages": [
53
+ {
54
+ "id": 4000002,
55
+ "text": "Property password is missing.",
56
+ "type": "error",
57
+ "context": {
58
+ "property": "password"
59
+ }
60
+ }
61
+ ],
62
+ "meta": {}
63
+ },
64
+ {
65
+ "type": "input",
66
+ "group": "default",
67
+ "attributes": {
68
+ "name": "traits.tos",
69
+ "type": "checkbox",
70
+ "disabled": false,
71
+ "node_type": "input"
72
+ },
73
+ "messages": [],
74
+ "meta": {
75
+ "label": {
76
+ "id": 1070002,
77
+ "text": "Accept the terms of service",
78
+ "type": "info",
79
+ "context": {
80
+ "title": "Accept the terms of service"
81
+ }
82
+ }
83
+ }
84
+ },
85
+ {
86
+ "type": "input",
87
+ "group": "default",
88
+ "attributes": {
89
+ "name": "traits.phone",
90
+ "type": "text",
91
+ "disabled": false,
92
+ "node_type": "input"
93
+ },
94
+ "messages": [],
95
+ "meta": {
96
+ "label": {
97
+ "id": 1070002,
98
+ "text": "Phone Number",
99
+ "type": "info",
100
+ "context": {
101
+ "title": "Phone Number"
102
+ }
103
+ }
104
+ }
105
+ },
106
+ {
107
+ "type": "input",
108
+ "group": "default",
109
+ "attributes": {
110
+ "name": "traits.nested.name",
111
+ "type": "text",
112
+ "disabled": false,
113
+ "node_type": "input"
114
+ },
115
+ "messages": [],
116
+ "meta": {
117
+ "label": {
118
+ "id": 1070002,
119
+ "text": "Name",
120
+ "type": "info",
121
+ "context": {
122
+ "title": "Name"
123
+ }
124
+ }
125
+ }
126
+ },
127
+ {
128
+ "type": "input",
129
+ "group": "default",
130
+ "attributes": {
131
+ "name": "csrf_token",
132
+ "type": "hidden",
133
+ "value": "DwJaQDhjtggHEXl162Y0jcLill1mHlvCOZWMZmh34/Thz5IN8n18R8gy0ETFTg2XvZQk3dPOJ6WDmaae5tCRYg==",
134
+ "required": true,
135
+ "disabled": false,
136
+ "node_type": "input"
137
+ },
138
+ "messages": [],
139
+ "meta": {}
140
+ },
141
+ {
142
+ "type": "input",
143
+ "group": "profile",
144
+ "attributes": {
145
+ "name": "method",
146
+ "type": "submit",
147
+ "value": "profile",
148
+ "disabled": false,
149
+ "node_type": "input"
150
+ },
151
+ "messages": [],
152
+ "meta": {
153
+ "label": {
154
+ "id": 1040001,
155
+ "text": "Sign up",
156
+ "type": "info"
157
+ }
158
+ }
159
+ }
160
+ ]
161
+ },
162
+ "organization_id": null,
163
+ "state": "choose_method"
164
+ }
@@ -0,0 +1,185 @@
1
+ {
2
+ "id": "f1cae1c5-b77d-444a-99da-65af40296baf",
3
+ "type": "browser",
4
+ "expires_at": "2024-10-29T10:45:46.355386Z",
5
+ "issued_at": "2024-10-29T09:45:46.355386Z",
6
+ "request_url": "https://romantic-tu-rf98ru5rql.projects.oryapis:8080/self-service/registration/browser?",
7
+ "ui": {
8
+ "action": "https://romantic-tu-rf98ru5rql.projects.oryapis:8080/self-service/registration?flow=f1cae1c5-b77d-444a-99da-65af40296baf",
9
+ "method": "POST",
10
+ "nodes": [
11
+ {
12
+ "type": "input",
13
+ "group": "default",
14
+ "attributes": {
15
+ "name": "traits.email",
16
+ "type": "email",
17
+ "required": true,
18
+ "autocomplete": "email",
19
+ "disabled": false,
20
+ "node_type": "input"
21
+ },
22
+ "messages": [],
23
+ "meta": {
24
+ "label": {
25
+ "id": 1070002,
26
+ "text": "E-Mail",
27
+ "type": "info",
28
+ "context": {
29
+ "title": "E-Mail"
30
+ }
31
+ }
32
+ }
33
+ },
34
+ {
35
+ "type": "input",
36
+ "group": "default",
37
+ "attributes": {
38
+ "name": "traits.tos",
39
+ "type": "checkbox",
40
+ "disabled": false,
41
+ "node_type": "input"
42
+ },
43
+ "messages": [],
44
+ "meta": {
45
+ "label": {
46
+ "id": 1070002,
47
+ "text": "Accept the terms of service",
48
+ "type": "info",
49
+ "context": {
50
+ "title": "Accept the terms of service"
51
+ }
52
+ }
53
+ }
54
+ },
55
+ {
56
+ "type": "input",
57
+ "group": "default",
58
+ "attributes": {
59
+ "name": "traits.phone",
60
+ "type": "text",
61
+ "disabled": false,
62
+ "node_type": "input"
63
+ },
64
+ "messages": [],
65
+ "meta": {
66
+ "label": {
67
+ "id": 1070002,
68
+ "text": "Phone Number",
69
+ "type": "info",
70
+ "context": {
71
+ "title": "Phone Number"
72
+ }
73
+ }
74
+ }
75
+ },
76
+ {
77
+ "type": "input",
78
+ "group": "default",
79
+ "attributes": {
80
+ "name": "traits.nested.name",
81
+ "type": "text",
82
+ "disabled": false,
83
+ "node_type": "input"
84
+ },
85
+ "messages": [],
86
+ "meta": {
87
+ "label": {
88
+ "id": 1070002,
89
+ "text": "Name",
90
+ "type": "info",
91
+ "context": {
92
+ "title": "Name"
93
+ }
94
+ }
95
+ }
96
+ },
97
+ {
98
+ "type": "input",
99
+ "group": "default",
100
+ "attributes": {
101
+ "name": "csrf_token",
102
+ "type": "hidden",
103
+ "value": "Y/Xu30T+fl0y9WgPtVFBgJl20FgPKOGL0PdRtYwrzXgDH90tMgGjBtkD+ucOu3NQere6LwwEcPqGZTlNt8hQ9w==",
104
+ "required": true,
105
+ "disabled": false,
106
+ "node_type": "input"
107
+ },
108
+ "messages": [],
109
+ "meta": {}
110
+ },
111
+ {
112
+ "type": "input",
113
+ "group": "webauthn",
114
+ "attributes": {
115
+ "name": "webauthn_register_displayname",
116
+ "type": "text",
117
+ "value": "",
118
+ "disabled": false,
119
+ "node_type": "input"
120
+ },
121
+ "messages": [],
122
+ "meta": {
123
+ "label": {
124
+ "id": 1050013,
125
+ "text": "Name of the security key",
126
+ "type": "info"
127
+ }
128
+ }
129
+ },
130
+ {
131
+ "type": "input",
132
+ "group": "webauthn",
133
+ "attributes": {
134
+ "name": "webauthn_register",
135
+ "type": "hidden",
136
+ "value": "",
137
+ "disabled": false,
138
+ "node_type": "input"
139
+ },
140
+ "messages": [],
141
+ "meta": {}
142
+ },
143
+ {
144
+ "type": "input",
145
+ "group": "webauthn",
146
+ "attributes": {
147
+ "name": "webauthn_register_trigger",
148
+ "type": "button",
149
+ "value": "{\"publicKey\":{\"rp\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-Inm4ptsTsi1lsamq-2-tests/elements/webauthn.spec.ts\\u003eGenerate webauthn API responses for Ory Elements Storybook\\u003ewebauthn states\",\"id\":\"romantic-tu-rf98ru5rql.projects.oryapis\"},\"user\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-Inm4ptsTsi1lsamq-2-tests/elements/webauthn.spec.ts\\u003eGenerate webauthn API responses for Ory Elements Storybook\\u003ewebauthn states\",\"displayName\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-Inm4ptsTsi1lsamq-2-tests/elements/webauthn.spec.ts\\u003eGenerate webauthn API responses for Ory Elements Storybook\\u003ewebauthn states\",\"id\":\"pVtWPBf0QI68eZHkr6znbg\"},\"challenge\":\"eJAB1_JKWJoO9hi2NnpGS4MJ_hwwaV8tuIM6TeZCAEY\",\"pubKeyCredParams\":[{\"type\":\"public-key\",\"alg\":-7},{\"type\":\"public-key\",\"alg\":-35},{\"type\":\"public-key\",\"alg\":-36},{\"type\":\"public-key\",\"alg\":-257},{\"type\":\"public-key\",\"alg\":-258},{\"type\":\"public-key\",\"alg\":-259},{\"type\":\"public-key\",\"alg\":-37},{\"type\":\"public-key\",\"alg\":-38},{\"type\":\"public-key\",\"alg\":-39},{\"type\":\"public-key\",\"alg\":-8}],\"timeout\":120000,\"authenticatorSelection\":{\"requireResidentKey\":false,\"userVerification\":\"discouraged\"}}}",
150
+ "disabled": false,
151
+ "onclick": "window.oryWebAuthnRegistration({\"publicKey\":{\"rp\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-Inm4ptsTsi1lsamq-2-tests/elements/webauthn.spec.ts\\u003eGenerate webauthn API responses for Ory Elements Storybook\\u003ewebauthn states\",\"id\":\"romantic-tu-rf98ru5rql.projects.oryapis\"},\"user\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-Inm4ptsTsi1lsamq-2-tests/elements/webauthn.spec.ts\\u003eGenerate webauthn API responses for Ory Elements Storybook\\u003ewebauthn states\",\"displayName\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-Inm4ptsTsi1lsamq-2-tests/elements/webauthn.spec.ts\\u003eGenerate webauthn API responses for Ory Elements Storybook\\u003ewebauthn states\",\"id\":\"pVtWPBf0QI68eZHkr6znbg\"},\"challenge\":\"eJAB1_JKWJoO9hi2NnpGS4MJ_hwwaV8tuIM6TeZCAEY\",\"pubKeyCredParams\":[{\"type\":\"public-key\",\"alg\":-7},{\"type\":\"public-key\",\"alg\":-35},{\"type\":\"public-key\",\"alg\":-36},{\"type\":\"public-key\",\"alg\":-257},{\"type\":\"public-key\",\"alg\":-258},{\"type\":\"public-key\",\"alg\":-259},{\"type\":\"public-key\",\"alg\":-37},{\"type\":\"public-key\",\"alg\":-38},{\"type\":\"public-key\",\"alg\":-39},{\"type\":\"public-key\",\"alg\":-8}],\"timeout\":120000,\"authenticatorSelection\":{\"requireResidentKey\":false,\"userVerification\":\"discouraged\"}}})",
152
+ "onclickTrigger": "oryWebAuthnRegistration",
153
+ "node_type": "input"
154
+ },
155
+ "messages": [],
156
+ "meta": {
157
+ "label": {
158
+ "id": 1040004,
159
+ "text": "Sign up with security key",
160
+ "type": "info"
161
+ }
162
+ }
163
+ },
164
+ {
165
+ "type": "script",
166
+ "group": "webauthn",
167
+ "attributes": {
168
+ "src": "https://romantic-tu-rf98ru5rql.projects.oryapis:8080/.well-known/ory/webauthn.js",
169
+ "async": true,
170
+ "referrerpolicy": "no-referrer",
171
+ "crossorigin": "anonymous",
172
+ "integrity": "sha512-MDzBlwh32rr+eus2Yf1BetIj94m+ULLbewYDulbZjczycs81klNed+qQWG2yi2N03KV5uZlRJJtWdV2x9JNHzQ==",
173
+ "type": "text/javascript",
174
+ "id": "webauthn_script",
175
+ "nonce": "cb97ee7e-8c82-43a1-897d-32ee254dbfb5",
176
+ "node_type": "script"
177
+ },
178
+ "messages": [],
179
+ "meta": {}
180
+ }
181
+ ]
182
+ },
183
+ "organization_id": null,
184
+ "state": "choose_method"
185
+ }