@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,334 @@
1
+ {
2
+ "id": "b9fe1e9e-21a7-48a9-8f5d-20efd3423647",
3
+ "type": "browser",
4
+ "expires_at": "2024-10-29T10:45:38.835312759Z",
5
+ "issued_at": "2024-10-29T09:45:38.835312759Z",
6
+ "request_url": "https://laughing-easley-g0jaq9kdbx.projects.oryapis:8080/self-service/registration/browser",
7
+ "ui": {
8
+ "action": "https://laughing-easley-g0jaq9kdbx.projects.oryapis:8080/self-service/registration?flow=b9fe1e9e-21a7-48a9-8f5d-20efd3423647",
9
+ "method": "POST",
10
+ "nodes": [
11
+ {
12
+ "type": "input",
13
+ "group": "oidc",
14
+ "attributes": {
15
+ "name": "provider",
16
+ "type": "submit",
17
+ "value": "github",
18
+ "disabled": false,
19
+ "node_type": "input"
20
+ },
21
+ "messages": [],
22
+ "meta": {
23
+ "label": {
24
+ "id": 1040002,
25
+ "text": "Sign up with GitHub",
26
+ "type": "info",
27
+ "context": {
28
+ "provider": "GitHub",
29
+ "provider_id": "github"
30
+ }
31
+ }
32
+ }
33
+ },
34
+ {
35
+ "type": "input",
36
+ "group": "oidc",
37
+ "attributes": {
38
+ "name": "provider",
39
+ "type": "submit",
40
+ "value": "google",
41
+ "disabled": false,
42
+ "node_type": "input"
43
+ },
44
+ "messages": [],
45
+ "meta": {
46
+ "label": {
47
+ "id": 1040002,
48
+ "text": "Sign up with Google",
49
+ "type": "info",
50
+ "context": {
51
+ "provider": "Google",
52
+ "provider_id": "google"
53
+ }
54
+ }
55
+ }
56
+ },
57
+ {
58
+ "type": "input",
59
+ "group": "default",
60
+ "attributes": {
61
+ "name": "traits.email",
62
+ "type": "email",
63
+ "required": true,
64
+ "autocomplete": "email",
65
+ "disabled": false,
66
+ "node_type": "input"
67
+ },
68
+ "messages": [],
69
+ "meta": {
70
+ "label": {
71
+ "id": 1070002,
72
+ "text": "E-Mail",
73
+ "type": "info",
74
+ "context": {
75
+ "title": "E-Mail"
76
+ }
77
+ }
78
+ }
79
+ },
80
+ {
81
+ "type": "input",
82
+ "group": "default",
83
+ "attributes": {
84
+ "name": "traits.tos",
85
+ "type": "checkbox",
86
+ "disabled": false,
87
+ "node_type": "input"
88
+ },
89
+ "messages": [],
90
+ "meta": {
91
+ "label": {
92
+ "id": 1070002,
93
+ "text": "Accept the terms of service",
94
+ "type": "info",
95
+ "context": {
96
+ "title": "Accept the terms of service"
97
+ }
98
+ }
99
+ }
100
+ },
101
+ {
102
+ "type": "input",
103
+ "group": "default",
104
+ "attributes": {
105
+ "name": "traits.phone",
106
+ "type": "text",
107
+ "disabled": false,
108
+ "node_type": "input"
109
+ },
110
+ "messages": [],
111
+ "meta": {
112
+ "label": {
113
+ "id": 1070002,
114
+ "text": "Phone Number",
115
+ "type": "info",
116
+ "context": {
117
+ "title": "Phone Number"
118
+ }
119
+ }
120
+ }
121
+ },
122
+ {
123
+ "type": "input",
124
+ "group": "default",
125
+ "attributes": {
126
+ "name": "traits.nested.name",
127
+ "type": "text",
128
+ "disabled": false,
129
+ "node_type": "input"
130
+ },
131
+ "messages": [],
132
+ "meta": {
133
+ "label": {
134
+ "id": 1070002,
135
+ "text": "Name",
136
+ "type": "info",
137
+ "context": {
138
+ "title": "Name"
139
+ }
140
+ }
141
+ }
142
+ },
143
+ {
144
+ "type": "input",
145
+ "group": "default",
146
+ "attributes": {
147
+ "name": "csrf_token",
148
+ "type": "hidden",
149
+ "value": "x1UHcIMSLGxaB2CtwVgRvevcZwZvc8j3TjJkZpWkE2aK0VPIQAlysdsSSg4qxR+SSsn/Gvqv5Uwbxw2oNj8+nA==",
150
+ "required": true,
151
+ "disabled": false,
152
+ "node_type": "input"
153
+ },
154
+ "messages": [],
155
+ "meta": {}
156
+ },
157
+ {
158
+ "type": "input",
159
+ "group": "webauthn",
160
+ "attributes": {
161
+ "name": "webauthn_register_displayname",
162
+ "type": "text",
163
+ "value": "",
164
+ "disabled": false,
165
+ "node_type": "input"
166
+ },
167
+ "messages": [],
168
+ "meta": {
169
+ "label": {
170
+ "id": 1050013,
171
+ "text": "Name of the security key",
172
+ "type": "info"
173
+ }
174
+ }
175
+ },
176
+ {
177
+ "type": "input",
178
+ "group": "webauthn",
179
+ "attributes": {
180
+ "name": "webauthn_register",
181
+ "type": "hidden",
182
+ "value": "",
183
+ "disabled": false,
184
+ "node_type": "input"
185
+ },
186
+ "messages": [],
187
+ "meta": {}
188
+ },
189
+ {
190
+ "type": "input",
191
+ "group": "webauthn",
192
+ "attributes": {
193
+ "name": "webauthn_register_trigger",
194
+ "type": "button",
195
+ "value": "{\"publicKey\":{\"rp\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"laughing-easley-g0jaq9kdbx.projects.oryapis\"},\"user\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"displayName\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"XeqrF9GfSbS58TKtzAh2zg\"},\"challenge\":\"74bigZU3_ltbQ9-ET16iGRQ-qRyRB2ViUshbXrwO8T0\",\"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\"}}}",
196
+ "disabled": false,
197
+ "onclick": "window.oryWebAuthnRegistration({\"publicKey\":{\"rp\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"laughing-easley-g0jaq9kdbx.projects.oryapis\"},\"user\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"displayName\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"XeqrF9GfSbS58TKtzAh2zg\"},\"challenge\":\"74bigZU3_ltbQ9-ET16iGRQ-qRyRB2ViUshbXrwO8T0\",\"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\"}}})",
198
+ "onclickTrigger": "oryWebAuthnRegistration",
199
+ "node_type": "input"
200
+ },
201
+ "messages": [],
202
+ "meta": {
203
+ "label": {
204
+ "id": 1040004,
205
+ "text": "Sign up with security key",
206
+ "type": "info"
207
+ }
208
+ }
209
+ },
210
+ {
211
+ "type": "script",
212
+ "group": "webauthn",
213
+ "attributes": {
214
+ "src": "https://laughing-easley-g0jaq9kdbx.projects.oryapis:8080/.well-known/ory/webauthn.js",
215
+ "async": true,
216
+ "referrerpolicy": "no-referrer",
217
+ "crossorigin": "anonymous",
218
+ "integrity": "sha512-MDzBlwh32rr+eus2Yf1BetIj94m+ULLbewYDulbZjczycs81klNed+qQWG2yi2N03KV5uZlRJJtWdV2x9JNHzQ==",
219
+ "type": "text/javascript",
220
+ "id": "webauthn_script",
221
+ "nonce": "d884dc30-5685-4946-ad4d-b43f0cbc640c",
222
+ "node_type": "script"
223
+ },
224
+ "messages": [],
225
+ "meta": {}
226
+ },
227
+ {
228
+ "type": "input",
229
+ "group": "passkey",
230
+ "attributes": {
231
+ "name": "passkey_register",
232
+ "type": "hidden",
233
+ "disabled": false,
234
+ "node_type": "input"
235
+ },
236
+ "messages": [],
237
+ "meta": {}
238
+ },
239
+ {
240
+ "type": "input",
241
+ "group": "passkey",
242
+ "attributes": {
243
+ "name": "passkey_register_trigger",
244
+ "type": "button",
245
+ "disabled": false,
246
+ "onclick": "window.oryPasskeyRegistration()",
247
+ "onclickTrigger": "oryPasskeyRegistration",
248
+ "node_type": "input"
249
+ },
250
+ "messages": [],
251
+ "meta": {
252
+ "label": {
253
+ "id": 1040007,
254
+ "text": "Sign up with passkey",
255
+ "type": "info"
256
+ }
257
+ }
258
+ },
259
+ {
260
+ "type": "input",
261
+ "group": "passkey",
262
+ "attributes": {
263
+ "name": "passkey_create_data",
264
+ "type": "hidden",
265
+ "value": "{\"credentialOptions\":{\"publicKey\":{\"rp\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"laughing-easley-g0jaq9kdbx.projects.oryapis\"},\"user\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"displayName\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"aVgzMlFQekY3RlQxdWxSdmNESFp3Z1ZobW5iOTlBZVl3MEI2RHRqaDJZaWFjMTQ0bG9SSFRqQVROckhPSGlsUQ\"},\"challenge\":\"2kj8SlMR3pebjCL90xCVyrFMqsrDBD1G2JVnL8BrJZs\",\"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\":300000,\"authenticatorSelection\":{\"authenticatorAttachment\":\"platform\",\"requireResidentKey\":true,\"userVerification\":\"preferred\"}}},\"displayNameFieldName\":\"traits.email\"}",
266
+ "disabled": false,
267
+ "node_type": "input"
268
+ },
269
+ "messages": [],
270
+ "meta": {}
271
+ },
272
+ {
273
+ "type": "input",
274
+ "group": "code",
275
+ "attributes": {
276
+ "name": "method",
277
+ "type": "submit",
278
+ "value": "code",
279
+ "disabled": false,
280
+ "node_type": "input"
281
+ },
282
+ "messages": [],
283
+ "meta": {
284
+ "label": {
285
+ "id": 1040006,
286
+ "text": "Send sign up code",
287
+ "type": "info"
288
+ }
289
+ }
290
+ },
291
+ {
292
+ "type": "input",
293
+ "group": "password",
294
+ "attributes": {
295
+ "name": "password",
296
+ "type": "password",
297
+ "required": true,
298
+ "autocomplete": "new-password",
299
+ "disabled": false,
300
+ "node_type": "input"
301
+ },
302
+ "messages": [],
303
+ "meta": {
304
+ "label": {
305
+ "id": 1070001,
306
+ "text": "Password",
307
+ "type": "info"
308
+ }
309
+ }
310
+ },
311
+ {
312
+ "type": "input",
313
+ "group": "password",
314
+ "attributes": {
315
+ "name": "method",
316
+ "type": "submit",
317
+ "value": "password",
318
+ "disabled": false,
319
+ "node_type": "input"
320
+ },
321
+ "messages": [],
322
+ "meta": {
323
+ "label": {
324
+ "id": 1040001,
325
+ "text": "Sign up",
326
+ "type": "info"
327
+ }
328
+ }
329
+ }
330
+ ]
331
+ },
332
+ "organization_id": null,
333
+ "state": "choose_method"
334
+ }
@@ -0,0 +1,343 @@
1
+ {
2
+ "id": "b9fe1e9e-21a7-48a9-8f5d-20efd3423647",
3
+ "type": "browser",
4
+ "expires_at": "2024-10-29T10:45:38.835312Z",
5
+ "issued_at": "2024-10-29T09:45:38.835312Z",
6
+ "request_url": "https://laughing-easley-g0jaq9kdbx.projects.oryapis:8080/self-service/registration/browser",
7
+ "ui": {
8
+ "action": "https://laughing-easley-g0jaq9kdbx.projects.oryapis:8080/self-service/registration?flow=b9fe1e9e-21a7-48a9-8f5d-20efd3423647",
9
+ "method": "POST",
10
+ "nodes": [
11
+ {
12
+ "type": "input",
13
+ "group": "oidc",
14
+ "attributes": {
15
+ "name": "provider",
16
+ "type": "submit",
17
+ "value": "github",
18
+ "disabled": false,
19
+ "node_type": "input"
20
+ },
21
+ "messages": [],
22
+ "meta": {
23
+ "label": {
24
+ "id": 1040002,
25
+ "text": "Sign up with GitHub",
26
+ "type": "info",
27
+ "context": {
28
+ "provider": "GitHub",
29
+ "provider_id": "github"
30
+ }
31
+ }
32
+ }
33
+ },
34
+ {
35
+ "type": "input",
36
+ "group": "oidc",
37
+ "attributes": {
38
+ "name": "provider",
39
+ "type": "submit",
40
+ "value": "google",
41
+ "disabled": false,
42
+ "node_type": "input"
43
+ },
44
+ "messages": [],
45
+ "meta": {
46
+ "label": {
47
+ "id": 1040002,
48
+ "text": "Sign up with Google",
49
+ "type": "info",
50
+ "context": {
51
+ "provider": "Google",
52
+ "provider_id": "google"
53
+ }
54
+ }
55
+ }
56
+ },
57
+ {
58
+ "type": "input",
59
+ "group": "default",
60
+ "attributes": {
61
+ "name": "traits.email",
62
+ "type": "email",
63
+ "required": true,
64
+ "autocomplete": "email",
65
+ "disabled": false,
66
+ "node_type": "input"
67
+ },
68
+ "messages": [
69
+ {
70
+ "id": 4000002,
71
+ "text": "Property email is missing.",
72
+ "type": "error",
73
+ "context": {
74
+ "property": "email"
75
+ }
76
+ }
77
+ ],
78
+ "meta": {
79
+ "label": {
80
+ "id": 1070002,
81
+ "text": "E-Mail",
82
+ "type": "info",
83
+ "context": {
84
+ "title": "E-Mail"
85
+ }
86
+ }
87
+ }
88
+ },
89
+ {
90
+ "type": "input",
91
+ "group": "default",
92
+ "attributes": {
93
+ "name": "traits.tos",
94
+ "type": "checkbox",
95
+ "disabled": false,
96
+ "node_type": "input"
97
+ },
98
+ "messages": [],
99
+ "meta": {
100
+ "label": {
101
+ "id": 1070002,
102
+ "text": "Accept the terms of service",
103
+ "type": "info",
104
+ "context": {
105
+ "title": "Accept the terms of service"
106
+ }
107
+ }
108
+ }
109
+ },
110
+ {
111
+ "type": "input",
112
+ "group": "default",
113
+ "attributes": {
114
+ "name": "traits.phone",
115
+ "type": "text",
116
+ "disabled": false,
117
+ "node_type": "input"
118
+ },
119
+ "messages": [],
120
+ "meta": {
121
+ "label": {
122
+ "id": 1070002,
123
+ "text": "Phone Number",
124
+ "type": "info",
125
+ "context": {
126
+ "title": "Phone Number"
127
+ }
128
+ }
129
+ }
130
+ },
131
+ {
132
+ "type": "input",
133
+ "group": "default",
134
+ "attributes": {
135
+ "name": "traits.nested.name",
136
+ "type": "text",
137
+ "disabled": false,
138
+ "node_type": "input"
139
+ },
140
+ "messages": [],
141
+ "meta": {
142
+ "label": {
143
+ "id": 1070002,
144
+ "text": "Name",
145
+ "type": "info",
146
+ "context": {
147
+ "title": "Name"
148
+ }
149
+ }
150
+ }
151
+ },
152
+ {
153
+ "type": "input",
154
+ "group": "default",
155
+ "attributes": {
156
+ "name": "csrf_token",
157
+ "type": "hidden",
158
+ "value": "n+/j1e1Kaf4DFB8Cx0FqbO2TvRqYHEA/+Kr5rL98B3nSa7dtLlE3I4IBNaEs3GRDTIYlBg3AbYStX5BiHOcqgw==",
159
+ "required": true,
160
+ "disabled": false,
161
+ "node_type": "input"
162
+ },
163
+ "messages": [],
164
+ "meta": {}
165
+ },
166
+ {
167
+ "type": "input",
168
+ "group": "webauthn",
169
+ "attributes": {
170
+ "name": "webauthn_register_displayname",
171
+ "type": "text",
172
+ "value": "",
173
+ "disabled": false,
174
+ "node_type": "input"
175
+ },
176
+ "messages": [],
177
+ "meta": {
178
+ "label": {
179
+ "id": 1050013,
180
+ "text": "Name of the security key",
181
+ "type": "info"
182
+ }
183
+ }
184
+ },
185
+ {
186
+ "type": "input",
187
+ "group": "webauthn",
188
+ "attributes": {
189
+ "name": "webauthn_register",
190
+ "type": "hidden",
191
+ "value": "",
192
+ "disabled": false,
193
+ "node_type": "input"
194
+ },
195
+ "messages": [],
196
+ "meta": {}
197
+ },
198
+ {
199
+ "type": "input",
200
+ "group": "webauthn",
201
+ "attributes": {
202
+ "name": "webauthn_register_trigger",
203
+ "type": "button",
204
+ "value": "{\"publicKey\":{\"rp\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"laughing-easley-g0jaq9kdbx.projects.oryapis\"},\"user\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"displayName\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"XeqrF9GfSbS58TKtzAh2zg\"},\"challenge\":\"74bigZU3_ltbQ9-ET16iGRQ-qRyRB2ViUshbXrwO8T0\",\"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\"}}}",
205
+ "disabled": false,
206
+ "onclick": "window.oryWebAuthnRegistration({\"publicKey\":{\"rp\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"laughing-easley-g0jaq9kdbx.projects.oryapis\"},\"user\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"displayName\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"XeqrF9GfSbS58TKtzAh2zg\"},\"challenge\":\"74bigZU3_ltbQ9-ET16iGRQ-qRyRB2ViUshbXrwO8T0\",\"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\"}}})",
207
+ "onclickTrigger": "oryWebAuthnRegistration",
208
+ "node_type": "input"
209
+ },
210
+ "messages": [],
211
+ "meta": {
212
+ "label": {
213
+ "id": 1040004,
214
+ "text": "Sign up with security key",
215
+ "type": "info"
216
+ }
217
+ }
218
+ },
219
+ {
220
+ "type": "script",
221
+ "group": "webauthn",
222
+ "attributes": {
223
+ "src": "https://laughing-easley-g0jaq9kdbx.projects.oryapis:8080/.well-known/ory/webauthn.js",
224
+ "async": true,
225
+ "referrerpolicy": "no-referrer",
226
+ "crossorigin": "anonymous",
227
+ "integrity": "sha512-MDzBlwh32rr+eus2Yf1BetIj94m+ULLbewYDulbZjczycs81klNed+qQWG2yi2N03KV5uZlRJJtWdV2x9JNHzQ==",
228
+ "type": "text/javascript",
229
+ "id": "webauthn_script",
230
+ "nonce": "d884dc30-5685-4946-ad4d-b43f0cbc640c",
231
+ "node_type": "script"
232
+ },
233
+ "messages": [],
234
+ "meta": {}
235
+ },
236
+ {
237
+ "type": "input",
238
+ "group": "passkey",
239
+ "attributes": {
240
+ "name": "passkey_register",
241
+ "type": "hidden",
242
+ "disabled": false,
243
+ "node_type": "input"
244
+ },
245
+ "messages": [],
246
+ "meta": {}
247
+ },
248
+ {
249
+ "type": "input",
250
+ "group": "passkey",
251
+ "attributes": {
252
+ "name": "passkey_register_trigger",
253
+ "type": "button",
254
+ "disabled": false,
255
+ "onclick": "window.oryPasskeyRegistration()",
256
+ "onclickTrigger": "oryPasskeyRegistration",
257
+ "node_type": "input"
258
+ },
259
+ "messages": [],
260
+ "meta": {
261
+ "label": {
262
+ "id": 1040007,
263
+ "text": "Sign up with passkey",
264
+ "type": "info"
265
+ }
266
+ }
267
+ },
268
+ {
269
+ "type": "input",
270
+ "group": "passkey",
271
+ "attributes": {
272
+ "name": "passkey_create_data",
273
+ "type": "hidden",
274
+ "value": "{\"credentialOptions\":{\"publicKey\":{\"rp\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"laughing-easley-g0jaq9kdbx.projects.oryapis\"},\"user\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"displayName\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-J9f5VQ2Bb157Oiew-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"aVgzMlFQekY3RlQxdWxSdmNESFp3Z1ZobW5iOTlBZVl3MEI2RHRqaDJZaWFjMTQ0bG9SSFRqQVROckhPSGlsUQ\"},\"challenge\":\"2kj8SlMR3pebjCL90xCVyrFMqsrDBD1G2JVnL8BrJZs\",\"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\":300000,\"authenticatorSelection\":{\"authenticatorAttachment\":\"platform\",\"requireResidentKey\":true,\"userVerification\":\"preferred\"}}},\"displayNameFieldName\":\"traits.email\"}",
275
+ "disabled": false,
276
+ "node_type": "input"
277
+ },
278
+ "messages": [],
279
+ "meta": {}
280
+ },
281
+ {
282
+ "type": "input",
283
+ "group": "code",
284
+ "attributes": {
285
+ "name": "method",
286
+ "type": "submit",
287
+ "value": "code",
288
+ "disabled": false,
289
+ "node_type": "input"
290
+ },
291
+ "messages": [],
292
+ "meta": {
293
+ "label": {
294
+ "id": 1040006,
295
+ "text": "Send sign up code",
296
+ "type": "info"
297
+ }
298
+ }
299
+ },
300
+ {
301
+ "type": "input",
302
+ "group": "password",
303
+ "attributes": {
304
+ "name": "password",
305
+ "type": "password",
306
+ "required": true,
307
+ "autocomplete": "new-password",
308
+ "disabled": false,
309
+ "node_type": "input"
310
+ },
311
+ "messages": [],
312
+ "meta": {
313
+ "label": {
314
+ "id": 1070001,
315
+ "text": "Password",
316
+ "type": "info"
317
+ }
318
+ }
319
+ },
320
+ {
321
+ "type": "input",
322
+ "group": "password",
323
+ "attributes": {
324
+ "name": "method",
325
+ "type": "submit",
326
+ "value": "password",
327
+ "disabled": false,
328
+ "node_type": "input"
329
+ },
330
+ "messages": [],
331
+ "meta": {
332
+ "label": {
333
+ "id": 1040001,
334
+ "text": "Sign up",
335
+ "type": "info"
336
+ }
337
+ }
338
+ }
339
+ ]
340
+ },
341
+ "organization_id": null,
342
+ "state": "choose_method"
343
+ }