@ory/elements-react 1.0.0-next.25 → 1.0.0-next.28

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 (182) 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 +40 -0
  53. package/dist/index.d.mts +3 -3
  54. package/dist/index.d.ts +3 -3
  55. package/dist/index.js +2105 -2053
  56. package/dist/index.js.map +1 -1
  57. package/dist/index.mjs +2105 -2053
  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 +29 -14
  62. package/dist/theme/default/index.js.map +1 -1
  63. package/dist/theme/default/index.mjs +29 -14
  64. package/dist/theme/default/index.mjs.map +1 -1
  65. package/dist/theme/default/tailwind/defaults.d.mts +737 -0
  66. package/dist/theme/default/tailwind/defaults.d.ts +737 -0
  67. package/dist/theme/default/tailwind/defaults.js +219 -0
  68. package/dist/theme/default/tailwind/defaults.js.map +1 -0
  69. package/dist/theme/default/tailwind/defaults.mjs +196 -0
  70. package/dist/theme/default/tailwind/defaults.mjs.map +1 -0
  71. package/package.json +7 -2
  72. package/stories/components/login/1fa/all.stories.ts +46 -0
  73. package/stories/components/login/1fa/code.stories.ts +64 -0
  74. package/stories/components/login/1fa/custom.stories.tsx +72 -0
  75. package/stories/components/login/1fa/none.stories.tsx +28 -0
  76. package/stories/components/login/1fa/oidc.stories.tsx +143 -0
  77. package/stories/components/login/1fa/passkey.stories.ts +28 -0
  78. package/stories/components/login/1fa/password.stories.ts +46 -0
  79. package/stories/components/login/1fa/webauthn.stories.ts +46 -0
  80. package/stories/components/registration/one-step/all-methods.stories.ts +37 -0
  81. package/stories/components/registration/one-step/password.stories.ts +37 -0
  82. package/stories/components/registration/one-step/webauthn.stories.ts +28 -0
  83. package/stories/components/registration/two-step/all-methods.stories.ts +55 -0
  84. package/stories/components/registration/two-step/password.stories.ts +55 -0
  85. package/stories/components/settings/all.stories.ts +46 -0
  86. package/stories/components/settings/oidc.stories.ts +28 -0
  87. package/stories/components/settings/passkey.stories.ts +28 -0
  88. package/stories/components/settings/webauthn.stories.ts +28 -0
  89. package/stories/pages/error.tsx +29 -0
  90. package/stories/utils.ts +20 -0
  91. package/storybook-static/InterVariable.woff2 +0 -0
  92. package/storybook-static/assets/Color-ERTF36HU-BdkKyVuV.js +1 -0
  93. package/storybook-static/assets/DocsRenderer-CFRXHY34-YqKt61zP.js +595 -0
  94. package/storybook-static/assets/all-methods.stories-B-rqPBX2.js +11 -0
  95. package/storybook-static/assets/all-methods.stories-CmMlhzsx.js +21 -0
  96. package/storybook-static/assets/all.stories-CtQ0yCQi.js +16 -0
  97. package/storybook-static/assets/all.stories-DgIVCzcZ.js +16 -0
  98. package/storybook-static/assets/chunk-H6MOWX77-DTQOW814.js +1 -0
  99. package/storybook-static/assets/code.stories-BbEryDcA.js +26 -0
  100. package/storybook-static/assets/custom.stories-DH2zHar9.js +6 -0
  101. package/storybook-static/assets/entry-preview-CcFGVifh.js +10 -0
  102. package/storybook-static/assets/entry-preview-docs-CyY-8bLe.js +54 -0
  103. package/storybook-static/assets/iframe-C5GAfuxh.js +2 -0
  104. package/storybook-static/assets/index-BVoBHvaS.js +8 -0
  105. package/storybook-static/assets/index-CfOt2XX2.js +24 -0
  106. package/storybook-static/assets/index-DPRSEdy-.js +1 -0
  107. package/storybook-static/assets/index-DrFu-skq.js +6 -0
  108. package/storybook-static/assets/index-FeUjBnvO.js +1 -0
  109. package/storybook-static/assets/index-uubelm5h.js +9 -0
  110. package/storybook-static/assets/initial-form-DWp_1F-f.js +1 -0
  111. package/storybook-static/assets/jsx-runtime-QvZ8i92b.js +9 -0
  112. package/storybook-static/assets/none.stories-TAeRhzd5.js +6 -0
  113. package/storybook-static/assets/oidc.stories-CniWBy7t.js +58 -0
  114. package/storybook-static/assets/oidc.stories-jhWzAyoQ.js +6 -0
  115. package/storybook-static/assets/passkey.stories-CBtjoVSN.js +6 -0
  116. package/storybook-static/assets/passkey.stories-CQU2Xw_t.js +6 -0
  117. package/storybook-static/assets/password.stories-0s6cDl0o.js +11 -0
  118. package/storybook-static/assets/password.stories-B2Wtckz_.js +16 -0
  119. package/storybook-static/assets/password.stories-DX0gkWjH.js +21 -0
  120. package/storybook-static/assets/preview-BBWR9nbA.js +1 -0
  121. package/storybook-static/assets/preview-BPAmP-pY.js +2 -0
  122. package/storybook-static/assets/preview-BWzBA1C2.js +396 -0
  123. package/storybook-static/assets/preview-BXtF2ySE.js +234 -0
  124. package/storybook-static/assets/preview-Cur_8nCX.css +1 -0
  125. package/storybook-static/assets/preview-D77C14du.js +34 -0
  126. package/storybook-static/assets/preview-DCjDUH0w.js +27 -0
  127. package/storybook-static/assets/preview-DFmD0pui.js +1 -0
  128. package/storybook-static/assets/preview-DGUiP6tS.js +7 -0
  129. package/storybook-static/assets/preview-aVwhiz9X.js +1 -0
  130. package/storybook-static/assets/react-18-CtsMCmcS.js +1 -0
  131. package/storybook-static/assets/settings-BqEFC2-V.css +1 -0
  132. package/storybook-static/assets/settings-Bx4osEmB.js +2304 -0
  133. package/storybook-static/assets/webauthn.stories-BzodmV0c.js +6 -0
  134. package/storybook-static/assets/webauthn.stories-DglGm7Ys.js +6 -0
  135. package/storybook-static/assets/webauthn.stories-G9E76Wjj.js +16 -0
  136. package/storybook-static/favicon.svg +1 -0
  137. package/storybook-static/iframe.html +654 -0
  138. package/storybook-static/index.html +173 -0
  139. package/storybook-static/index.json +1 -0
  140. package/storybook-static/inter.css +8 -0
  141. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  142. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  143. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  144. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  145. package/storybook-static/preview-stats.json +2344 -0
  146. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
  147. package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
  148. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +12 -0
  149. package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
  150. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +394 -0
  151. package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -0
  152. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +3 -0
  153. package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
  154. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +3 -0
  155. package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
  156. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +3 -0
  157. package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
  158. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +3 -0
  159. package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
  160. package/storybook-static/sb-addons/interactions-8/manager-bundle.js +211 -0
  161. package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
  162. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
  163. package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
  164. package/storybook-static/sb-common-assets/favicon.svg +1 -0
  165. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  166. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  167. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  168. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  169. package/storybook-static/sb-manager/globals-module-info.js +1006 -0
  170. package/storybook-static/sb-manager/globals-runtime.js +54400 -0
  171. package/storybook-static/sb-manager/globals.js +48 -0
  172. package/storybook-static/sb-manager/runtime.js +12089 -0
  173. package/storybook-static/sb-preview/globals.js +33 -0
  174. package/storybook-static/sb-preview/runtime.js +9498 -0
  175. package/tailwind/defaults.ts +34 -0
  176. package/tailwind/generated/README.md +2 -0
  177. package/tailwind/generated/default-variables.css +216 -0
  178. package/tailwind/generated/variables-processed.json +161 -0
  179. package/tsconfig.json +2 -3
  180. package/tsconfig.runtime.json +4 -0
  181. package/tsconfig.test.json +0 -9
  182. package/variables-processed.json +0 -391
@@ -0,0 +1,172 @@
1
+ {
2
+ "id": "78253dca-fd68-4e9f-9a39-3ebc5bbf2fda",
3
+ "type": "browser",
4
+ "expires_at": "2024-10-29T10:45:42.780134Z",
5
+ "issued_at": "2024-10-29T09:45:42.780134Z",
6
+ "request_url": "https://keen-bartik-cvzpttoe79.projects.oryapis:8080/self-service/registration/browser",
7
+ "ui": {
8
+ "action": "https://keen-bartik-cvzpttoe79.projects.oryapis:8080/self-service/registration?flow=78253dca-fd68-4e9f-9a39-3ebc5bbf2fda",
9
+ "method": "POST",
10
+ "nodes": [
11
+ {
12
+ "type": "input",
13
+ "group": "default",
14
+ "attributes": {
15
+ "name": "csrf_token",
16
+ "type": "hidden",
17
+ "value": "/6H3gkLHBCEsjqgFWAxXWCq5aV1sE5gy7HjLWUZMbH16brFlOdvEmAPtVU0NuTJKooaD7g0xM/FIHOd6I681rw==",
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,163 @@
1
+ {
2
+ "id": "78253dca-fd68-4e9f-9a39-3ebc5bbf2fda",
3
+ "type": "browser",
4
+ "expires_at": "2024-10-29T10:45:42.780134Z",
5
+ "issued_at": "2024-10-29T09:45:42.780134Z",
6
+ "request_url": "https://keen-bartik-cvzpttoe79.projects.oryapis:8080/self-service/registration/browser",
7
+ "ui": {
8
+ "action": "https://keen-bartik-cvzpttoe79.projects.oryapis:8080/self-service/registration?flow=78253dca-fd68-4e9f-9a39-3ebc5bbf2fda",
9
+ "method": "POST",
10
+ "nodes": [
11
+ {
12
+ "type": "input",
13
+ "group": "default",
14
+ "attributes": {
15
+ "name": "csrf_token",
16
+ "type": "hidden",
17
+ "value": "qZWOK4pg46gRau/4n2wUB8cxFZIHelRpgAeUToi4FY4sWsjM8XwjET4JErDK2XEVTw7/IWZY/6okY7ht7VtMXA==",
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
+ "meta": {
70
+ "label": {
71
+ "id": 1070001,
72
+ "text": "Password",
73
+ "type": "info"
74
+ }
75
+ }
76
+ },
77
+ {
78
+ "type": "input",
79
+ "group": "password",
80
+ "attributes": {
81
+ "name": "traits.tos",
82
+ "type": "checkbox",
83
+ "disabled": false,
84
+ "node_type": "input"
85
+ },
86
+ "messages": [],
87
+ "meta": {
88
+ "label": {
89
+ "id": 1070002,
90
+ "text": "Accept the terms of service",
91
+ "type": "info",
92
+ "context": {
93
+ "title": "Accept the terms of service"
94
+ }
95
+ }
96
+ }
97
+ },
98
+ {
99
+ "type": "input",
100
+ "group": "password",
101
+ "attributes": {
102
+ "name": "traits.phone",
103
+ "type": "text",
104
+ "disabled": false,
105
+ "node_type": "input"
106
+ },
107
+ "messages": [],
108
+ "meta": {
109
+ "label": {
110
+ "id": 1070002,
111
+ "text": "Phone Number",
112
+ "type": "info",
113
+ "context": {
114
+ "title": "Phone Number"
115
+ }
116
+ }
117
+ }
118
+ },
119
+ {
120
+ "type": "input",
121
+ "group": "password",
122
+ "attributes": {
123
+ "name": "traits.nested.name",
124
+ "type": "text",
125
+ "disabled": false,
126
+ "node_type": "input"
127
+ },
128
+ "messages": [],
129
+ "meta": {
130
+ "label": {
131
+ "id": 1070002,
132
+ "text": "Name",
133
+ "type": "info",
134
+ "context": {
135
+ "title": "Name"
136
+ }
137
+ }
138
+ }
139
+ },
140
+ {
141
+ "type": "input",
142
+ "group": "password",
143
+ "attributes": {
144
+ "name": "method",
145
+ "type": "submit",
146
+ "value": "password",
147
+ "disabled": false,
148
+ "node_type": "input"
149
+ },
150
+ "messages": [],
151
+ "meta": {
152
+ "label": {
153
+ "id": 1040001,
154
+ "text": "Sign up",
155
+ "type": "info"
156
+ }
157
+ }
158
+ }
159
+ ]
160
+ },
161
+ "organization_id": null,
162
+ "state": "choose_method"
163
+ }
@@ -0,0 +1,76 @@
1
+ {
2
+ "id": "fe189118-902c-4f78-a742-342356f2a3ec",
3
+ "organization_id": null,
4
+ "type": "browser",
5
+ "expires_at": "2024-10-29T10:45:48.76084Z",
6
+ "issued_at": "2024-10-29T09:45:48.76084Z",
7
+ "request_url": "https://romantic-tu-rf98ru5rql.projects.oryapis:8080/self-service/login/browser?aal=&refresh=&return_to=&organization=&via=",
8
+ "ui": {
9
+ "action": "https://romantic-tu-rf98ru5rql.projects.oryapis:8080/self-service/login?flow=fe189118-902c-4f78-a742-342356f2a3ec",
10
+ "method": "POST",
11
+ "nodes": [
12
+ {
13
+ "type": "input",
14
+ "group": "default",
15
+ "attributes": {
16
+ "name": "csrf_token",
17
+ "type": "hidden",
18
+ "value": "gmsCHEYS8hdrurAvYH54e3R4YvFXZHN0z84nmCAo7d9umiMNbTqUiGgIMWN3X1GAUfG1uZc3KrPayx9NmdsNjg==",
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": "identifier",
31
+ "type": "text",
32
+ "value": "",
33
+ "required": true,
34
+ "autocomplete": "username webauthn",
35
+ "disabled": false,
36
+ "node_type": "input"
37
+ },
38
+ "messages": [],
39
+ "meta": {
40
+ "label": {
41
+ "id": 1070002,
42
+ "text": "E-Mail",
43
+ "type": "info",
44
+ "context": {
45
+ "title": "E-Mail"
46
+ }
47
+ }
48
+ }
49
+ },
50
+ {
51
+ "type": "input",
52
+ "group": "webauthn",
53
+ "attributes": {
54
+ "name": "method",
55
+ "type": "submit",
56
+ "value": "webauthn",
57
+ "disabled": false,
58
+ "node_type": "input"
59
+ },
60
+ "messages": [],
61
+ "meta": {
62
+ "label": {
63
+ "id": 1010008,
64
+ "text": "Sign in with hardware key",
65
+ "type": "info"
66
+ }
67
+ }
68
+ }
69
+ ]
70
+ },
71
+ "created_at": "2024-10-29T09:45:48.763474Z",
72
+ "updated_at": "2024-10-29T09:45:48.763474Z",
73
+ "refresh": false,
74
+ "requested_aal": "aal1",
75
+ "state": "choose_method"
76
+ }
@@ -0,0 +1,83 @@
1
+ {
2
+ "id": "e0e1fbff-1f67-4f43-b686-e2e13f20c31d",
3
+ "organization_id": null,
4
+ "type": "browser",
5
+ "expires_at": "2024-10-29T10:45:49.216119Z",
6
+ "issued_at": "2024-10-29T09:45:49.216119Z",
7
+ "request_url": "https://romantic-tu-rf98ru5rql.projects.oryapis:8080/self-service/login/browser",
8
+ "ui": {
9
+ "action": "https://romantic-tu-rf98ru5rql.projects.oryapis:8080/self-service/login?flow=e0e1fbff-1f67-4f43-b686-e2e13f20c31d",
10
+ "method": "POST",
11
+ "nodes": [
12
+ {
13
+ "type": "input",
14
+ "group": "default",
15
+ "attributes": {
16
+ "name": "csrf_token",
17
+ "type": "hidden",
18
+ "value": "XbAsvaU+Bxq08xhkISVldUEYq1JQJ0+wzZ/nGKgGcdABa2Sn+lCE99Eze934G3ei2fHlt5dD9jroN2WCr5zHRg==",
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": "identifier",
31
+ "type": "text",
32
+ "value": "",
33
+ "required": true,
34
+ "autocomplete": "username webauthn",
35
+ "disabled": false,
36
+ "node_type": "input"
37
+ },
38
+ "messages": [],
39
+ "meta": {
40
+ "label": {
41
+ "id": 1070002,
42
+ "text": "E-Mail",
43
+ "type": "info",
44
+ "context": {
45
+ "title": "E-Mail"
46
+ }
47
+ }
48
+ }
49
+ },
50
+ {
51
+ "type": "input",
52
+ "group": "webauthn",
53
+ "attributes": {
54
+ "name": "method",
55
+ "type": "submit",
56
+ "value": "webauthn",
57
+ "disabled": false,
58
+ "node_type": "input"
59
+ },
60
+ "messages": [],
61
+ "meta": {
62
+ "label": {
63
+ "id": 1010008,
64
+ "text": "Sign in with hardware key",
65
+ "type": "info"
66
+ }
67
+ }
68
+ }
69
+ ],
70
+ "messages": [
71
+ {
72
+ "id": 4000015,
73
+ "text": "This account does not exist or has no security key set up.",
74
+ "type": "error"
75
+ }
76
+ ]
77
+ },
78
+ "created_at": "2024-10-29T09:45:49.225749Z",
79
+ "updated_at": "2024-10-29T09:45:49.225749Z",
80
+ "refresh": false,
81
+ "requested_aal": "aal1",
82
+ "state": "choose_method"
83
+ }
@@ -0,0 +1,105 @@
1
+ {
2
+ "id": "fe189118-902c-4f78-a742-342356f2a3ec",
3
+ "organization_id": null,
4
+ "type": "browser",
5
+ "expires_at": "2024-10-29T10:45:48.76084Z",
6
+ "issued_at": "2024-10-29T09:45:48.76084Z",
7
+ "request_url": "https://romantic-tu-rf98ru5rql.projects.oryapis:8080/self-service/login/browser?aal=&refresh=&return_to=&organization=&via=",
8
+ "ui": {
9
+ "action": "https://romantic-tu-rf98ru5rql.projects.oryapis:8080/self-service/login?flow=fe189118-902c-4f78-a742-342356f2a3ec",
10
+ "method": "POST",
11
+ "nodes": [
12
+ {
13
+ "type": "input",
14
+ "group": "default",
15
+ "attributes": {
16
+ "name": "identifier",
17
+ "type": "hidden",
18
+ "value": "dev+orycye2eda2f162daf6142dd0.nqwe2lavry0.f4h5y029idj@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": "bR+n055e6MR4iRaRuSJ239rLOiMMD6o2yhRwC5aLY1WB7obCtXaOW3s7l92uA18k/0Lta8xc8/HfEUjeL3iDBA==",
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://romantic-tu-rf98ru5rql.projects.oryapis:8080/.well-known/ory/webauthn.js",
45
+ "async": true,
46
+ "referrerpolicy": "no-referrer",
47
+ "crossorigin": "anonymous",
48
+ "integrity": "sha512-MDzBlwh32rr+eus2Yf1BetIj94m+ULLbewYDulbZjczycs81klNed+qQWG2yi2N03KV5uZlRJJtWdV2x9JNHzQ==",
49
+ "type": "text/javascript",
50
+ "id": "webauthn_script",
51
+ "nonce": "8c70f7a6-efee-4daf-b23b-62b8cbd07d01",
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\":\"342M-urm4Mf2NR_-18jkvYqwUQBhbKrE1Z8nPfQylSM\",\"timeout\":120000,\"rpId\":\"romantic-tu-rf98ru5rql.projects.oryapis\",\"allowCredentials\":[{\"type\":\"public-key\",\"id\":\"IFIPP9EDx5argEdBKiwqhEBf1rGOqEWLXvTDCTT-EHw\"}],\"userVerification\":\"discouraged\"}}",
64
+ "disabled": false,
65
+ "onclick": "window.oryWebAuthnLogin({\"publicKey\":{\"challenge\":\"342M-urm4Mf2NR_-18jkvYqwUQBhbKrE1Z8nPfQylSM\",\"timeout\":120000,\"rpId\":\"romantic-tu-rf98ru5rql.projects.oryapis\",\"allowCredentials\":[{\"type\":\"public-key\",\"id\":\"IFIPP9EDx5argEdBKiwqhEBf1rGOqEWLXvTDCTT-EHw\"}],\"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": "2024-10-29T09:45:48.763474Z",
101
+ "updated_at": "2024-10-29T09:45:48.763474Z",
102
+ "refresh": false,
103
+ "requested_aal": "aal1",
104
+ "state": "choose_method"
105
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "error": {
3
+ "code": 400,
4
+ "status": "Bad Request",
5
+ "request": "852a098a-1b86-9a46-8a78-4fb4d09a1d55",
6
+ "reason": "Recovery is not allowed because it was disabled.",
7
+ "message": "The request was malformed or contained invalid parameters"
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "error": {
3
+ "code": 400,
4
+ "status": "Bad Request",
5
+ "request": "11ce69d3-6dc5-93a9-a901-0ba798c02a4e",
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
+ }