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

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 +224 -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 +60 -11
  13. package/dist/index.d.ts +60 -11
  14. package/dist/index.js +915 -346
  15. package/dist/index.js.map +1 -1
  16. package/dist/index.mjs +918 -350
  17. package/dist/index.mjs.map +1 -1
  18. package/dist/theme/default/index.css +187 -125
  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 +4279 -828
  23. package/dist/theme/default/index.js.map +1 -1
  24. package/dist/theme/default/index.mjs +4333 -804
  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
@@ -1,105 +0,0 @@
1
- {
2
- "id": "1d2b48f1-3a54-4fa9-8ec5-aa1adab90019",
3
- "organization_id": null,
4
- "type": "browser",
5
- "expires_at": "2025-02-26T09:31:58.359011Z",
6
- "issued_at": "2025-02-26T08:31:58.359011Z",
7
- "request_url": "https://ecstatic-cohen-vqvlpcrrkw.projects.oryapis:8080/self-service/login/browser?aal=&refresh=&return_to=&organization=&via=",
8
- "ui": {
9
- "action": "https://ecstatic-cohen-vqvlpcrrkw.projects.oryapis:8080/self-service/login?flow=1d2b48f1-3a54-4fa9-8ec5-aa1adab90019",
10
- "method": "POST",
11
- "nodes": [
12
- {
13
- "type": "input",
14
- "group": "default",
15
- "attributes": {
16
- "name": "identifier",
17
- "type": "hidden",
18
- "value": "dev+orycye2eda2f162daf6142dd0.8e2a252998k0.nf5ru2d6xk@ory.dev",
19
- "required": true,
20
- "disabled": false,
21
- "node_type": "input"
22
- },
23
- "messages": [],
24
- "meta": {}
25
- },
26
- {
27
- "type": "input",
28
- "group": "default",
29
- "attributes": {
30
- "name": "csrf_token",
31
- "type": "hidden",
32
- "value": "fE8F0SMijrJgRjqvu+mUl5IKVG5jBYTczE4JL1AX+2n9gQgR2LpGMRBFFew0QiEQL//V212kjSEDZ2B7iV0LlA==",
33
- "required": true,
34
- "disabled": false,
35
- "node_type": "input"
36
- },
37
- "messages": [],
38
- "meta": {}
39
- },
40
- {
41
- "type": "script",
42
- "group": "webauthn",
43
- "attributes": {
44
- "src": "https://ecstatic-cohen-vqvlpcrrkw.projects.oryapis:8080/.well-known/ory/webauthn.js",
45
- "async": true,
46
- "referrerpolicy": "no-referrer",
47
- "crossorigin": "anonymous",
48
- "integrity": "sha512-GJndj+bkFBMHiun3qBMmFh5eeGodY/eSh8tg50xHcNEdOBCIKnlofYd2slaBTtVpyI4opfkMc/zw+nwBjGdAbw==",
49
- "type": "text/javascript",
50
- "id": "webauthn_script",
51
- "nonce": "b74ebeac-7533-44c9-a12a-1200a2799a7d",
52
- "node_type": "script"
53
- },
54
- "messages": [],
55
- "meta": {}
56
- },
57
- {
58
- "type": "input",
59
- "group": "webauthn",
60
- "attributes": {
61
- "name": "webauthn_login_trigger",
62
- "type": "button",
63
- "value": "{\"publicKey\":{\"challenge\":\"4rlroXh_icFzO6Nu--5mb4pgcMi9GTIctL9XLTCXN9w\",\"timeout\":120000,\"rpId\":\"ecstatic-cohen-vqvlpcrrkw.projects.oryapis\",\"allowCredentials\":[{\"type\":\"public-key\",\"id\":\"iOsRv1TnRXpqaNnvcKrqmFodVioNueWpGSSURv-SPSE\"}],\"userVerification\":\"discouraged\"}}",
64
- "disabled": false,
65
- "onclick": "window.oryWebAuthnLogin({\"publicKey\":{\"challenge\":\"4rlroXh_icFzO6Nu--5mb4pgcMi9GTIctL9XLTCXN9w\",\"timeout\":120000,\"rpId\":\"ecstatic-cohen-vqvlpcrrkw.projects.oryapis\",\"allowCredentials\":[{\"type\":\"public-key\",\"id\":\"iOsRv1TnRXpqaNnvcKrqmFodVioNueWpGSSURv-SPSE\"}],\"userVerification\":\"discouraged\"}})",
66
- "onclickTrigger": "oryWebAuthnLogin",
67
- "node_type": "input"
68
- },
69
- "messages": [],
70
- "meta": {
71
- "label": {
72
- "id": 1010013,
73
- "text": "Continue",
74
- "type": "info"
75
- }
76
- }
77
- },
78
- {
79
- "type": "input",
80
- "group": "webauthn",
81
- "attributes": {
82
- "name": "webauthn_login",
83
- "type": "hidden",
84
- "value": "",
85
- "disabled": false,
86
- "node_type": "input"
87
- },
88
- "messages": [],
89
- "meta": {}
90
- }
91
- ],
92
- "messages": [
93
- {
94
- "id": 1010012,
95
- "text": "Prepare your WebAuthn device (e.g. security key, biometrics scanner, ...) and press continue.",
96
- "type": "info"
97
- }
98
- ]
99
- },
100
- "created_at": "2025-02-26T08:31:58.362635Z",
101
- "updated_at": "2025-02-26T08:31:58.362635Z",
102
- "refresh": false,
103
- "requested_aal": "aal1",
104
- "state": "choose_method"
105
- }
@@ -1,9 +0,0 @@
1
- {
2
- "error": {
3
- "code": 400,
4
- "status": "Bad Request",
5
- "request": "f16fa5b7-54cd-9038-b072-f98213d9331c",
6
- "reason": "Recovery is not allowed because it was disabled.",
7
- "message": "The request was malformed or contained invalid parameters"
8
- }
9
- }
@@ -1,9 +0,0 @@
1
- {
2
- "error": {
3
- "code": 400,
4
- "status": "Bad Request",
5
- "request": "9a93a20a-2cdd-9baa-a9b0-c43f30622954",
6
- "reason": "You attempted recovery using code, which is not enabled or does not exist. An administrator needs to enable this recovery method.",
7
- "message": "The request was malformed or contained invalid parameters"
8
- }
9
- }
@@ -1,334 +0,0 @@
1
- {
2
- "id": "4bd0755b-393e-4476-8382-cb72f8541a6c",
3
- "type": "browser",
4
- "expires_at": "2025-02-26T09:31:46.445931588Z",
5
- "issued_at": "2025-02-26T08:31:46.445931588Z",
6
- "request_url": "https://recursing-diffie-ys8p9e9c6d.projects.oryapis:8080/self-service/registration/browser",
7
- "ui": {
8
- "action": "https://recursing-diffie-ys8p9e9c6d.projects.oryapis:8080/self-service/registration?flow=4bd0755b-393e-4476-8382-cb72f8541a6c",
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": "xBBCr5dsbyyAXkRp+wq+5Ip0LWYbrOdqp4KS9Q5fYsNrv1QSlWZ9132iAjVkUSdSW1ihzQFdImvdpMXGE7EaCA==",
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-62j7g5vYKFTdO4sp-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"recursing-diffie-ys8p9e9c6d.projects.oryapis\"},\"user\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-62j7g5vYKFTdO4sp-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-62j7g5vYKFTdO4sp-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"QgWIfjLaQ5-XyjTvmLKzOA\"},\"challenge\":\"7MggPPQRhJWyPKtH4wDzil0Uv6ot9OkoUagDojAx9N0\",\"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\":{\"userVerification\":\"discouraged\"}}}",
196
- "disabled": false,
197
- "onclick": "window.oryWebAuthnRegistration({\"publicKey\":{\"rp\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-62j7g5vYKFTdO4sp-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"recursing-diffie-ys8p9e9c6d.projects.oryapis\"},\"user\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-62j7g5vYKFTdO4sp-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-62j7g5vYKFTdO4sp-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"QgWIfjLaQ5-XyjTvmLKzOA\"},\"challenge\":\"7MggPPQRhJWyPKtH4wDzil0Uv6ot9OkoUagDojAx9N0\",\"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\":{\"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://recursing-diffie-ys8p9e9c6d.projects.oryapis:8080/.well-known/ory/webauthn.js",
215
- "async": true,
216
- "referrerpolicy": "no-referrer",
217
- "crossorigin": "anonymous",
218
- "integrity": "sha512-GJndj+bkFBMHiun3qBMmFh5eeGodY/eSh8tg50xHcNEdOBCIKnlofYd2slaBTtVpyI4opfkMc/zw+nwBjGdAbw==",
219
- "type": "text/javascript",
220
- "id": "webauthn_script",
221
- "nonce": "626b1d08-752f-4ca7-93d8-6f872824eee6",
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-62j7g5vYKFTdO4sp-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"recursing-diffie-ys8p9e9c6d.projects.oryapis\"},\"user\":{\"name\":\"ory-cy-e2e-da2f162d-af61-42dd-90dc-e3fcfa7c84a0-62j7g5vYKFTdO4sp-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-62j7g5vYKFTdO4sp-6-tests/elements/everything.ts\\u003eGenerate all method API responses for Ory Elements Storybook\\u003eone-step\\u003eone step registration\",\"id\":\"aUI2M1FqaGlaV0lEdmdJcWdQVFhpWlVIWnVXVXE4SWJLY1VwS1VzUXlwOHJ1WVJVZThnbmE5MXZBYUo4eGtnZA\"},\"challenge\":\"9HZRveDb2uunlbdBMqoPEhl5clabg0Mf-ipglFdgPzM\",\"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,\"residentKey\":\"required\",\"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
- }