@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.
- package/.storybook/global.css +7 -0
- package/.storybook/main.ts +50 -0
- package/.storybook/preview-head.html +15 -0
- package/.storybook/preview.tsx +68 -0
- package/.storybook/public/InterVariable.woff2 +0 -0
- package/.storybook/public/inter.css +8 -0
- package/.stub-responses/login/1fa/all-methods/initial-form.json +247 -0
- package/.stub-responses/login/1fa/all-methods/missing-email.json +265 -0
- package/.stub-responses/login/1fa/all-methods/wrong-credentials.json +254 -0
- package/.stub-responses/login/1fa/code/code-input.json +135 -0
- package/.stub-responses/login/1fa/code/initial-form.json +173 -0
- package/.stub-responses/login/1fa/code/invalid-account.json +182 -0
- package/.stub-responses/login/1fa/code/missing-email.json +182 -0
- package/.stub-responses/login/1fa/code/wrong-credentials.json +124 -0
- package/.stub-responses/login/1fa/none/initial-form.json +33 -0
- package/.stub-responses/login/1fa/oidc/initial-form.json +279 -0
- package/.stub-responses/login/1fa/passkey/initial-form.json +122 -0
- package/.stub-responses/login/1fa/password/initial-form.json +154 -0
- package/.stub-responses/login/1fa/password/missing-email.json +172 -0
- package/.stub-responses/login/1fa/password/wrong-credentials.json +163 -0
- package/.stub-responses/login/1fa/webauthn/initial-form.json +76 -0
- package/.stub-responses/login/1fa/webauthn/invalid-account.json +83 -0
- package/.stub-responses/login/1fa/webauthn/show-trigger.json +105 -0
- package/.stub-responses/recovery/disabled/initial-form.json +9 -0
- package/.stub-responses/recovery/none/initial-form.json +9 -0
- package/.stub-responses/registration/one-step/all-methods/initial-form.json +334 -0
- package/.stub-responses/registration/one-step/all-methods/missing-fields.json +343 -0
- package/.stub-responses/registration/one-step/disabled/initial-form.json +10 -0
- package/.stub-responses/registration/one-step/none/initial-form.json +14 -0
- package/.stub-responses/registration/one-step/oidc/initial-form.json +338 -0
- package/.stub-responses/registration/one-step/passkey/initial-form.json +177 -0
- package/.stub-responses/registration/one-step/password/initial-form.json +154 -0
- package/.stub-responses/registration/one-step/password/missing-fields.json +172 -0
- package/.stub-responses/registration/one-step/password/second-step.json +164 -0
- package/.stub-responses/registration/one-step/webauthn/initial-form.json +185 -0
- package/.stub-responses/registration/two-step/all-methods/enter-password.json +242 -0
- package/.stub-responses/registration/two-step/all-methods/initial-form.json +180 -0
- package/.stub-responses/registration/two-step/all-methods/missing-fields.json +189 -0
- package/.stub-responses/registration/two-step/all-methods/password-validation-error.json +244 -0
- package/.stub-responses/registration/two-step/password/enter-password.json +108 -0
- package/.stub-responses/registration/two-step/password/initial-form.json +134 -0
- package/.stub-responses/registration/two-step/password/missing-fields.json +143 -0
- package/.stub-responses/registration/two-step/password/password-validation-error.json +110 -0
- package/.stub-responses/settings/all-methods/change-password.json +381 -0
- package/.stub-responses/settings/all-methods/change-trait.json +377 -0
- package/.stub-responses/settings/all-methods/initial-form.json +368 -0
- package/.stub-responses/settings/oidc/with-provider.json +230 -0
- package/.stub-responses/settings/passkey/initial-form.json +256 -0
- package/.stub-responses/settings/webauthn/initial-form.json +263 -0
- package/.stub-responses/verification/disabled/initial-form.json +9 -0
- package/.stub-responses/verification/none/initial-form.json +9 -0
- package/CHANGELOG.md +40 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2105 -2053
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2105 -2053
- package/dist/index.mjs.map +1 -1
- package/dist/theme/default/index.css +259 -106
- package/dist/theme/default/index.css.map +1 -1
- package/dist/theme/default/index.js +29 -14
- package/dist/theme/default/index.js.map +1 -1
- package/dist/theme/default/index.mjs +29 -14
- package/dist/theme/default/index.mjs.map +1 -1
- package/dist/theme/default/tailwind/defaults.d.mts +737 -0
- package/dist/theme/default/tailwind/defaults.d.ts +737 -0
- package/dist/theme/default/tailwind/defaults.js +219 -0
- package/dist/theme/default/tailwind/defaults.js.map +1 -0
- package/dist/theme/default/tailwind/defaults.mjs +196 -0
- package/dist/theme/default/tailwind/defaults.mjs.map +1 -0
- package/package.json +7 -2
- package/stories/components/login/1fa/all.stories.ts +46 -0
- package/stories/components/login/1fa/code.stories.ts +64 -0
- package/stories/components/login/1fa/custom.stories.tsx +72 -0
- package/stories/components/login/1fa/none.stories.tsx +28 -0
- package/stories/components/login/1fa/oidc.stories.tsx +143 -0
- package/stories/components/login/1fa/passkey.stories.ts +28 -0
- package/stories/components/login/1fa/password.stories.ts +46 -0
- package/stories/components/login/1fa/webauthn.stories.ts +46 -0
- package/stories/components/registration/one-step/all-methods.stories.ts +37 -0
- package/stories/components/registration/one-step/password.stories.ts +37 -0
- package/stories/components/registration/one-step/webauthn.stories.ts +28 -0
- package/stories/components/registration/two-step/all-methods.stories.ts +55 -0
- package/stories/components/registration/two-step/password.stories.ts +55 -0
- package/stories/components/settings/all.stories.ts +46 -0
- package/stories/components/settings/oidc.stories.ts +28 -0
- package/stories/components/settings/passkey.stories.ts +28 -0
- package/stories/components/settings/webauthn.stories.ts +28 -0
- package/stories/pages/error.tsx +29 -0
- package/stories/utils.ts +20 -0
- package/storybook-static/InterVariable.woff2 +0 -0
- package/storybook-static/assets/Color-ERTF36HU-BdkKyVuV.js +1 -0
- package/storybook-static/assets/DocsRenderer-CFRXHY34-YqKt61zP.js +595 -0
- package/storybook-static/assets/all-methods.stories-B-rqPBX2.js +11 -0
- package/storybook-static/assets/all-methods.stories-CmMlhzsx.js +21 -0
- package/storybook-static/assets/all.stories-CtQ0yCQi.js +16 -0
- package/storybook-static/assets/all.stories-DgIVCzcZ.js +16 -0
- package/storybook-static/assets/chunk-H6MOWX77-DTQOW814.js +1 -0
- package/storybook-static/assets/code.stories-BbEryDcA.js +26 -0
- package/storybook-static/assets/custom.stories-DH2zHar9.js +6 -0
- package/storybook-static/assets/entry-preview-CcFGVifh.js +10 -0
- package/storybook-static/assets/entry-preview-docs-CyY-8bLe.js +54 -0
- package/storybook-static/assets/iframe-C5GAfuxh.js +2 -0
- package/storybook-static/assets/index-BVoBHvaS.js +8 -0
- package/storybook-static/assets/index-CfOt2XX2.js +24 -0
- package/storybook-static/assets/index-DPRSEdy-.js +1 -0
- package/storybook-static/assets/index-DrFu-skq.js +6 -0
- package/storybook-static/assets/index-FeUjBnvO.js +1 -0
- package/storybook-static/assets/index-uubelm5h.js +9 -0
- package/storybook-static/assets/initial-form-DWp_1F-f.js +1 -0
- package/storybook-static/assets/jsx-runtime-QvZ8i92b.js +9 -0
- package/storybook-static/assets/none.stories-TAeRhzd5.js +6 -0
- package/storybook-static/assets/oidc.stories-CniWBy7t.js +58 -0
- package/storybook-static/assets/oidc.stories-jhWzAyoQ.js +6 -0
- package/storybook-static/assets/passkey.stories-CBtjoVSN.js +6 -0
- package/storybook-static/assets/passkey.stories-CQU2Xw_t.js +6 -0
- package/storybook-static/assets/password.stories-0s6cDl0o.js +11 -0
- package/storybook-static/assets/password.stories-B2Wtckz_.js +16 -0
- package/storybook-static/assets/password.stories-DX0gkWjH.js +21 -0
- package/storybook-static/assets/preview-BBWR9nbA.js +1 -0
- package/storybook-static/assets/preview-BPAmP-pY.js +2 -0
- package/storybook-static/assets/preview-BWzBA1C2.js +396 -0
- package/storybook-static/assets/preview-BXtF2ySE.js +234 -0
- package/storybook-static/assets/preview-Cur_8nCX.css +1 -0
- package/storybook-static/assets/preview-D77C14du.js +34 -0
- package/storybook-static/assets/preview-DCjDUH0w.js +27 -0
- package/storybook-static/assets/preview-DFmD0pui.js +1 -0
- package/storybook-static/assets/preview-DGUiP6tS.js +7 -0
- package/storybook-static/assets/preview-aVwhiz9X.js +1 -0
- package/storybook-static/assets/react-18-CtsMCmcS.js +1 -0
- package/storybook-static/assets/settings-BqEFC2-V.css +1 -0
- package/storybook-static/assets/settings-Bx4osEmB.js +2304 -0
- package/storybook-static/assets/webauthn.stories-BzodmV0c.js +6 -0
- package/storybook-static/assets/webauthn.stories-DglGm7Ys.js +6 -0
- package/storybook-static/assets/webauthn.stories-G9E76Wjj.js +16 -0
- package/storybook-static/favicon.svg +1 -0
- package/storybook-static/iframe.html +654 -0
- package/storybook-static/index.html +173 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/inter.css +8 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/preview-stats.json +2344 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js +394 -0
- package/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js +211 -0
- package/storybook-static/sb-addons/interactions-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +1006 -0
- package/storybook-static/sb-manager/globals-runtime.js +54400 -0
- package/storybook-static/sb-manager/globals.js +48 -0
- package/storybook-static/sb-manager/runtime.js +12089 -0
- package/storybook-static/sb-preview/globals.js +33 -0
- package/storybook-static/sb-preview/runtime.js +9498 -0
- package/tailwind/defaults.ts +34 -0
- package/tailwind/generated/README.md +2 -0
- package/tailwind/generated/default-variables.css +216 -0
- package/tailwind/generated/variables-processed.json +161 -0
- package/tsconfig.json +2 -3
- package/tsconfig.runtime.json +4 -0
- package/tsconfig.test.json +0 -9
- package/variables-processed.json +0 -391
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// Copyright © 2024 Ory Corp
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
import type { StorybookConfig } from "@storybook/react-vite"
|
|
5
|
+
|
|
6
|
+
import path from "path"
|
|
7
|
+
import { mergeConfig } from "vite"
|
|
8
|
+
import vitePluginRequire from "vite-plugin-require"
|
|
9
|
+
import svgr from "vite-plugin-svgr"
|
|
10
|
+
|
|
11
|
+
const config: StorybookConfig = {
|
|
12
|
+
stories: ["../**/*.stories.@(ts|tsx)"],
|
|
13
|
+
addons: ["@storybook/addon-essentials", "@storybook/addon-interactions"],
|
|
14
|
+
framework: {
|
|
15
|
+
name: "@storybook/react-vite",
|
|
16
|
+
options: {},
|
|
17
|
+
},
|
|
18
|
+
staticDirs: ["./public"],
|
|
19
|
+
|
|
20
|
+
viteFinal: (config) => {
|
|
21
|
+
return mergeConfig(config, {
|
|
22
|
+
plugins: [
|
|
23
|
+
vitePluginRequire(),
|
|
24
|
+
svgr({
|
|
25
|
+
include: "**/*.svg",
|
|
26
|
+
svgrOptions: {
|
|
27
|
+
svgProps: {
|
|
28
|
+
width: "{props?.width ? props.width : props?.size ?? 20}",
|
|
29
|
+
height: "{props?.height ? props.height : props?.size ?? 20}",
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
}),
|
|
33
|
+
],
|
|
34
|
+
resolve: {
|
|
35
|
+
alias: [
|
|
36
|
+
{
|
|
37
|
+
find: "$snapshots",
|
|
38
|
+
replacement: path.resolve(__dirname, "../.stub-responses"),
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
find: "@ory/elements-react",
|
|
42
|
+
replacement: path.resolve(__dirname, "../src"),
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
})
|
|
47
|
+
},
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export default config
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Copyright © 2024 Ory Corp -->
|
|
2
|
+
<!-- SPDX-License-Identifier: Apache-2.0 -->
|
|
3
|
+
|
|
4
|
+
<link
|
|
5
|
+
rel="preload"
|
|
6
|
+
href="/InterVariable.woff2?v=4.1"
|
|
7
|
+
as="font"
|
|
8
|
+
type="font/woff2"
|
|
9
|
+
crossorigin="anonymous"
|
|
10
|
+
/>
|
|
11
|
+
<link rel="stylesheet" href="/inter.css" />
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
window.oryPasskeyLoginAutocompleteInit = function () {}
|
|
15
|
+
</script>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// Copyright © 2024 Ory Corp
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
import type { Decorator, Preview } from "@storybook/react"
|
|
5
|
+
import { merge } from "lodash"
|
|
6
|
+
import "./global.css"
|
|
7
|
+
|
|
8
|
+
const preview: Preview = {
|
|
9
|
+
parameters: {
|
|
10
|
+
backgrounds: {
|
|
11
|
+
default: "light",
|
|
12
|
+
values: [
|
|
13
|
+
{ name: "light", value: "#f5f5f5" },
|
|
14
|
+
{ name: "dark", value: "#333333" },
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
18
|
+
controls: {
|
|
19
|
+
matchers: {
|
|
20
|
+
color: /(background|color)$/i,
|
|
21
|
+
date: /Date$/i,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const withI18next: Decorator = (Story, context) => {
|
|
28
|
+
const { locale } = context.globals
|
|
29
|
+
|
|
30
|
+
return (
|
|
31
|
+
<Story
|
|
32
|
+
args={merge(
|
|
33
|
+
{},
|
|
34
|
+
{
|
|
35
|
+
config: {
|
|
36
|
+
intl: {
|
|
37
|
+
locale: locale && typeof locale === "string" ? locale : "en",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
context.args,
|
|
42
|
+
)}
|
|
43
|
+
/>
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// export decorators for storybook to wrap your stories in
|
|
48
|
+
export const decorators = [withI18next]
|
|
49
|
+
|
|
50
|
+
export const globalTypes = {
|
|
51
|
+
locale: {
|
|
52
|
+
name: "Locale",
|
|
53
|
+
description: "Internationalization locale",
|
|
54
|
+
toolbar: {
|
|
55
|
+
icon: "globe",
|
|
56
|
+
items: [
|
|
57
|
+
{ value: "en", title: "English" },
|
|
58
|
+
{ value: "de", title: "German" },
|
|
59
|
+
{ value: "sv", title: "Swedish" },
|
|
60
|
+
{ value: "fr", title: "French" },
|
|
61
|
+
{ value: "es", title: "Spanish" },
|
|
62
|
+
],
|
|
63
|
+
showName: true,
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export default preview
|
|
Binary file
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "9af3e83e-23c1-41bd-9149-be39ea7c8048",
|
|
3
|
+
"organization_id": null,
|
|
4
|
+
"type": "browser",
|
|
5
|
+
"expires_at": "2024-10-29T10:45:38.857268593Z",
|
|
6
|
+
"issued_at": "2024-10-29T09:45:38.857268593Z",
|
|
7
|
+
"request_url": "https://dreamy-wiles-28csoig0cg.projects.oryapis:8080/self-service/login/browser",
|
|
8
|
+
"ui": {
|
|
9
|
+
"action": "https://dreamy-wiles-28csoig0cg.projects.oryapis:8080/self-service/login?flow=9af3e83e-23c1-41bd-9149-be39ea7c8048",
|
|
10
|
+
"method": "POST",
|
|
11
|
+
"nodes": [
|
|
12
|
+
{
|
|
13
|
+
"type": "input",
|
|
14
|
+
"group": "oidc",
|
|
15
|
+
"attributes": {
|
|
16
|
+
"name": "provider",
|
|
17
|
+
"type": "submit",
|
|
18
|
+
"value": "github",
|
|
19
|
+
"disabled": false,
|
|
20
|
+
"node_type": "input"
|
|
21
|
+
},
|
|
22
|
+
"messages": [],
|
|
23
|
+
"meta": {
|
|
24
|
+
"label": {
|
|
25
|
+
"id": 1010002,
|
|
26
|
+
"text": "Sign in with GitHub",
|
|
27
|
+
"type": "info",
|
|
28
|
+
"context": {
|
|
29
|
+
"provider": "GitHub",
|
|
30
|
+
"provider_id": "github"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "input",
|
|
37
|
+
"group": "oidc",
|
|
38
|
+
"attributes": {
|
|
39
|
+
"name": "provider",
|
|
40
|
+
"type": "submit",
|
|
41
|
+
"value": "google",
|
|
42
|
+
"disabled": false,
|
|
43
|
+
"node_type": "input"
|
|
44
|
+
},
|
|
45
|
+
"messages": [],
|
|
46
|
+
"meta": {
|
|
47
|
+
"label": {
|
|
48
|
+
"id": 1010002,
|
|
49
|
+
"text": "Sign in with Google",
|
|
50
|
+
"type": "info",
|
|
51
|
+
"context": {
|
|
52
|
+
"provider": "Google",
|
|
53
|
+
"provider_id": "google"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "input",
|
|
60
|
+
"group": "default",
|
|
61
|
+
"attributes": {
|
|
62
|
+
"name": "csrf_token",
|
|
63
|
+
"type": "hidden",
|
|
64
|
+
"value": "UpTfUf6a4w2CEUtZR/XLbglQeIWvznS5QdPSKX9WzjJItMMhoXxVRWEfNZ+QxkWFZgm2D0UQCg4wWgROuBHqlQ==",
|
|
65
|
+
"required": true,
|
|
66
|
+
"disabled": false,
|
|
67
|
+
"node_type": "input"
|
|
68
|
+
},
|
|
69
|
+
"messages": [],
|
|
70
|
+
"meta": {}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "input",
|
|
74
|
+
"group": "default",
|
|
75
|
+
"attributes": {
|
|
76
|
+
"name": "identifier",
|
|
77
|
+
"type": "text",
|
|
78
|
+
"value": "",
|
|
79
|
+
"required": true,
|
|
80
|
+
"autocomplete": "username webauthn",
|
|
81
|
+
"disabled": false,
|
|
82
|
+
"node_type": "input"
|
|
83
|
+
},
|
|
84
|
+
"messages": [],
|
|
85
|
+
"meta": {
|
|
86
|
+
"label": {
|
|
87
|
+
"id": 1070002,
|
|
88
|
+
"text": "E-Mail",
|
|
89
|
+
"type": "info",
|
|
90
|
+
"context": {
|
|
91
|
+
"title": "E-Mail"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "script",
|
|
98
|
+
"group": "webauthn",
|
|
99
|
+
"attributes": {
|
|
100
|
+
"src": "https://dreamy-wiles-28csoig0cg.projects.oryapis:8080/.well-known/ory/webauthn.js",
|
|
101
|
+
"async": true,
|
|
102
|
+
"referrerpolicy": "no-referrer",
|
|
103
|
+
"crossorigin": "anonymous",
|
|
104
|
+
"integrity": "sha512-MDzBlwh32rr+eus2Yf1BetIj94m+ULLbewYDulbZjczycs81klNed+qQWG2yi2N03KV5uZlRJJtWdV2x9JNHzQ==",
|
|
105
|
+
"type": "text/javascript",
|
|
106
|
+
"id": "webauthn_script",
|
|
107
|
+
"nonce": "37c7008f-98d4-402d-a319-cf4d0f60e10c",
|
|
108
|
+
"node_type": "script"
|
|
109
|
+
},
|
|
110
|
+
"messages": [],
|
|
111
|
+
"meta": {}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"type": "input",
|
|
115
|
+
"group": "webauthn",
|
|
116
|
+
"attributes": {
|
|
117
|
+
"name": "method",
|
|
118
|
+
"type": "submit",
|
|
119
|
+
"value": "webauthn",
|
|
120
|
+
"disabled": false,
|
|
121
|
+
"node_type": "input"
|
|
122
|
+
},
|
|
123
|
+
"messages": [],
|
|
124
|
+
"meta": {
|
|
125
|
+
"label": {
|
|
126
|
+
"id": 1010008,
|
|
127
|
+
"text": "Sign in with hardware key",
|
|
128
|
+
"type": "info"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "input",
|
|
134
|
+
"group": "passkey",
|
|
135
|
+
"attributes": {
|
|
136
|
+
"name": "passkey_login_trigger",
|
|
137
|
+
"type": "button",
|
|
138
|
+
"value": "",
|
|
139
|
+
"disabled": false,
|
|
140
|
+
"onclick": "window.oryPasskeyLogin()",
|
|
141
|
+
"onclickTrigger": "oryPasskeyLogin",
|
|
142
|
+
"onload": "window.oryPasskeyLoginAutocompleteInit()",
|
|
143
|
+
"onloadTrigger": "oryPasskeyLoginAutocompleteInit",
|
|
144
|
+
"node_type": "input"
|
|
145
|
+
},
|
|
146
|
+
"messages": [],
|
|
147
|
+
"meta": {
|
|
148
|
+
"label": {
|
|
149
|
+
"id": 1010021,
|
|
150
|
+
"text": "Sign in with passkey",
|
|
151
|
+
"type": "info"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"type": "input",
|
|
157
|
+
"group": "passkey",
|
|
158
|
+
"attributes": {
|
|
159
|
+
"name": "passkey_login",
|
|
160
|
+
"type": "hidden",
|
|
161
|
+
"disabled": false,
|
|
162
|
+
"onload": "window.oryPasskeyLoginAutocompleteInit()",
|
|
163
|
+
"onloadTrigger": "oryPasskeyLoginAutocompleteInit",
|
|
164
|
+
"node_type": "input"
|
|
165
|
+
},
|
|
166
|
+
"messages": [],
|
|
167
|
+
"meta": {}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"type": "input",
|
|
171
|
+
"group": "passkey",
|
|
172
|
+
"attributes": {
|
|
173
|
+
"name": "passkey_challenge",
|
|
174
|
+
"type": "hidden",
|
|
175
|
+
"value": "{\"publicKey\":{\"challenge\":\"j-AcTnYzHZCKq--PnEMGz72K0nh3BqH2emzwFOj-Dyw\",\"timeout\":300000,\"rpId\":\"dreamy-wiles-28csoig0cg.projects.oryapis\",\"userVerification\":\"preferred\"}}",
|
|
176
|
+
"disabled": false,
|
|
177
|
+
"node_type": "input"
|
|
178
|
+
},
|
|
179
|
+
"messages": [],
|
|
180
|
+
"meta": {}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"type": "input",
|
|
184
|
+
"group": "code",
|
|
185
|
+
"attributes": {
|
|
186
|
+
"name": "method",
|
|
187
|
+
"type": "submit",
|
|
188
|
+
"value": "code",
|
|
189
|
+
"disabled": false,
|
|
190
|
+
"node_type": "input"
|
|
191
|
+
},
|
|
192
|
+
"messages": [],
|
|
193
|
+
"meta": {
|
|
194
|
+
"label": {
|
|
195
|
+
"id": 1010015,
|
|
196
|
+
"text": "Send sign in code",
|
|
197
|
+
"type": "info"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"type": "input",
|
|
203
|
+
"group": "password",
|
|
204
|
+
"attributes": {
|
|
205
|
+
"name": "password",
|
|
206
|
+
"type": "password",
|
|
207
|
+
"required": true,
|
|
208
|
+
"autocomplete": "current-password",
|
|
209
|
+
"disabled": false,
|
|
210
|
+
"node_type": "input"
|
|
211
|
+
},
|
|
212
|
+
"messages": [],
|
|
213
|
+
"meta": {
|
|
214
|
+
"label": {
|
|
215
|
+
"id": 1070001,
|
|
216
|
+
"text": "Password",
|
|
217
|
+
"type": "info"
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"type": "input",
|
|
223
|
+
"group": "password",
|
|
224
|
+
"attributes": {
|
|
225
|
+
"name": "method",
|
|
226
|
+
"type": "submit",
|
|
227
|
+
"value": "password",
|
|
228
|
+
"disabled": false,
|
|
229
|
+
"node_type": "input"
|
|
230
|
+
},
|
|
231
|
+
"messages": [],
|
|
232
|
+
"meta": {
|
|
233
|
+
"label": {
|
|
234
|
+
"id": 1010022,
|
|
235
|
+
"text": "Sign in with password",
|
|
236
|
+
"type": "info"
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
"created_at": "2024-10-29T09:45:38.863683Z",
|
|
243
|
+
"updated_at": "2024-10-29T09:45:38.863683Z",
|
|
244
|
+
"refresh": false,
|
|
245
|
+
"requested_aal": "aal1",
|
|
246
|
+
"state": "choose_method"
|
|
247
|
+
}
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "9af3e83e-23c1-41bd-9149-be39ea7c8048",
|
|
3
|
+
"organization_id": null,
|
|
4
|
+
"type": "browser",
|
|
5
|
+
"expires_at": "2024-10-29T10:45:38.857268Z",
|
|
6
|
+
"issued_at": "2024-10-29T09:45:38.857268Z",
|
|
7
|
+
"request_url": "https://dreamy-wiles-28csoig0cg.projects.oryapis:8080/self-service/login/browser",
|
|
8
|
+
"ui": {
|
|
9
|
+
"action": "https://dreamy-wiles-28csoig0cg.projects.oryapis:8080/self-service/login?flow=9af3e83e-23c1-41bd-9149-be39ea7c8048",
|
|
10
|
+
"method": "POST",
|
|
11
|
+
"nodes": [
|
|
12
|
+
{
|
|
13
|
+
"type": "input",
|
|
14
|
+
"group": "oidc",
|
|
15
|
+
"attributes": {
|
|
16
|
+
"name": "provider",
|
|
17
|
+
"type": "submit",
|
|
18
|
+
"value": "github",
|
|
19
|
+
"disabled": false,
|
|
20
|
+
"node_type": "input"
|
|
21
|
+
},
|
|
22
|
+
"messages": [],
|
|
23
|
+
"meta": {
|
|
24
|
+
"label": {
|
|
25
|
+
"id": 1010002,
|
|
26
|
+
"text": "Sign in with GitHub",
|
|
27
|
+
"type": "info",
|
|
28
|
+
"context": {
|
|
29
|
+
"provider": "GitHub",
|
|
30
|
+
"provider_id": "github"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "input",
|
|
37
|
+
"group": "oidc",
|
|
38
|
+
"attributes": {
|
|
39
|
+
"name": "provider",
|
|
40
|
+
"type": "submit",
|
|
41
|
+
"value": "google",
|
|
42
|
+
"disabled": false,
|
|
43
|
+
"node_type": "input"
|
|
44
|
+
},
|
|
45
|
+
"messages": [],
|
|
46
|
+
"meta": {
|
|
47
|
+
"label": {
|
|
48
|
+
"id": 1010002,
|
|
49
|
+
"text": "Sign in with Google",
|
|
50
|
+
"type": "info",
|
|
51
|
+
"context": {
|
|
52
|
+
"provider": "Google",
|
|
53
|
+
"provider_id": "google"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "input",
|
|
60
|
+
"group": "default",
|
|
61
|
+
"attributes": {
|
|
62
|
+
"name": "csrf_token",
|
|
63
|
+
"type": "hidden",
|
|
64
|
+
"value": "+sHB0SRt37Hgp5uHUklnNED5kJykBbt0NxZ5OAUNlYDg4d2he4tp+QOp5UGFeunfL6BeFk7bxcNGn69fwkqxJw==",
|
|
65
|
+
"required": true,
|
|
66
|
+
"disabled": false,
|
|
67
|
+
"node_type": "input"
|
|
68
|
+
},
|
|
69
|
+
"messages": [],
|
|
70
|
+
"meta": {}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "input",
|
|
74
|
+
"group": "default",
|
|
75
|
+
"attributes": {
|
|
76
|
+
"name": "identifier",
|
|
77
|
+
"type": "text",
|
|
78
|
+
"value": "",
|
|
79
|
+
"required": true,
|
|
80
|
+
"autocomplete": "username webauthn",
|
|
81
|
+
"disabled": false,
|
|
82
|
+
"node_type": "input"
|
|
83
|
+
},
|
|
84
|
+
"messages": [
|
|
85
|
+
{
|
|
86
|
+
"id": 4000002,
|
|
87
|
+
"text": "Property identifier is missing.",
|
|
88
|
+
"type": "error",
|
|
89
|
+
"context": {
|
|
90
|
+
"property": "identifier"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"meta": {
|
|
95
|
+
"label": {
|
|
96
|
+
"id": 1070002,
|
|
97
|
+
"text": "E-Mail",
|
|
98
|
+
"type": "info",
|
|
99
|
+
"context": {
|
|
100
|
+
"title": "E-Mail"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "script",
|
|
107
|
+
"group": "webauthn",
|
|
108
|
+
"attributes": {
|
|
109
|
+
"src": "https://dreamy-wiles-28csoig0cg.projects.oryapis:8080/.well-known/ory/webauthn.js",
|
|
110
|
+
"async": true,
|
|
111
|
+
"referrerpolicy": "no-referrer",
|
|
112
|
+
"crossorigin": "anonymous",
|
|
113
|
+
"integrity": "sha512-MDzBlwh32rr+eus2Yf1BetIj94m+ULLbewYDulbZjczycs81klNed+qQWG2yi2N03KV5uZlRJJtWdV2x9JNHzQ==",
|
|
114
|
+
"type": "text/javascript",
|
|
115
|
+
"id": "webauthn_script",
|
|
116
|
+
"nonce": "37c7008f-98d4-402d-a319-cf4d0f60e10c",
|
|
117
|
+
"node_type": "script"
|
|
118
|
+
},
|
|
119
|
+
"messages": [],
|
|
120
|
+
"meta": {}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"type": "input",
|
|
124
|
+
"group": "webauthn",
|
|
125
|
+
"attributes": {
|
|
126
|
+
"name": "method",
|
|
127
|
+
"type": "submit",
|
|
128
|
+
"value": "webauthn",
|
|
129
|
+
"disabled": false,
|
|
130
|
+
"node_type": "input"
|
|
131
|
+
},
|
|
132
|
+
"messages": [],
|
|
133
|
+
"meta": {
|
|
134
|
+
"label": {
|
|
135
|
+
"id": 1010008,
|
|
136
|
+
"text": "Sign in with hardware key",
|
|
137
|
+
"type": "info"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "input",
|
|
143
|
+
"group": "passkey",
|
|
144
|
+
"attributes": {
|
|
145
|
+
"name": "passkey_login_trigger",
|
|
146
|
+
"type": "button",
|
|
147
|
+
"value": "",
|
|
148
|
+
"disabled": false,
|
|
149
|
+
"onclick": "window.oryPasskeyLogin()",
|
|
150
|
+
"onclickTrigger": "oryPasskeyLogin",
|
|
151
|
+
"onload": "window.oryPasskeyLoginAutocompleteInit()",
|
|
152
|
+
"onloadTrigger": "oryPasskeyLoginAutocompleteInit",
|
|
153
|
+
"node_type": "input"
|
|
154
|
+
},
|
|
155
|
+
"messages": [],
|
|
156
|
+
"meta": {
|
|
157
|
+
"label": {
|
|
158
|
+
"id": 1010021,
|
|
159
|
+
"text": "Sign in with passkey",
|
|
160
|
+
"type": "info"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"type": "input",
|
|
166
|
+
"group": "passkey",
|
|
167
|
+
"attributes": {
|
|
168
|
+
"name": "passkey_login",
|
|
169
|
+
"type": "hidden",
|
|
170
|
+
"disabled": false,
|
|
171
|
+
"onload": "window.oryPasskeyLoginAutocompleteInit()",
|
|
172
|
+
"onloadTrigger": "oryPasskeyLoginAutocompleteInit",
|
|
173
|
+
"node_type": "input"
|
|
174
|
+
},
|
|
175
|
+
"messages": [],
|
|
176
|
+
"meta": {}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"type": "input",
|
|
180
|
+
"group": "passkey",
|
|
181
|
+
"attributes": {
|
|
182
|
+
"name": "passkey_challenge",
|
|
183
|
+
"type": "hidden",
|
|
184
|
+
"value": "{\"publicKey\":{\"challenge\":\"j-AcTnYzHZCKq--PnEMGz72K0nh3BqH2emzwFOj-Dyw\",\"timeout\":300000,\"rpId\":\"dreamy-wiles-28csoig0cg.projects.oryapis\",\"userVerification\":\"preferred\"}}",
|
|
185
|
+
"disabled": false,
|
|
186
|
+
"node_type": "input"
|
|
187
|
+
},
|
|
188
|
+
"messages": [],
|
|
189
|
+
"meta": {}
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"type": "input",
|
|
193
|
+
"group": "code",
|
|
194
|
+
"attributes": {
|
|
195
|
+
"name": "method",
|
|
196
|
+
"type": "submit",
|
|
197
|
+
"value": "code",
|
|
198
|
+
"disabled": false,
|
|
199
|
+
"node_type": "input"
|
|
200
|
+
},
|
|
201
|
+
"messages": [],
|
|
202
|
+
"meta": {
|
|
203
|
+
"label": {
|
|
204
|
+
"id": 1010015,
|
|
205
|
+
"text": "Send sign in code",
|
|
206
|
+
"type": "info"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"type": "input",
|
|
212
|
+
"group": "password",
|
|
213
|
+
"attributes": {
|
|
214
|
+
"name": "password",
|
|
215
|
+
"type": "password",
|
|
216
|
+
"required": true,
|
|
217
|
+
"autocomplete": "current-password",
|
|
218
|
+
"disabled": false,
|
|
219
|
+
"node_type": "input"
|
|
220
|
+
},
|
|
221
|
+
"messages": [
|
|
222
|
+
{
|
|
223
|
+
"id": 4000002,
|
|
224
|
+
"text": "Property password is missing.",
|
|
225
|
+
"type": "error",
|
|
226
|
+
"context": {
|
|
227
|
+
"property": "password"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"meta": {
|
|
232
|
+
"label": {
|
|
233
|
+
"id": 1070001,
|
|
234
|
+
"text": "Password",
|
|
235
|
+
"type": "info"
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"type": "input",
|
|
241
|
+
"group": "password",
|
|
242
|
+
"attributes": {
|
|
243
|
+
"name": "method",
|
|
244
|
+
"type": "submit",
|
|
245
|
+
"value": "password",
|
|
246
|
+
"disabled": false,
|
|
247
|
+
"node_type": "input"
|
|
248
|
+
},
|
|
249
|
+
"messages": [],
|
|
250
|
+
"meta": {
|
|
251
|
+
"label": {
|
|
252
|
+
"id": 1010022,
|
|
253
|
+
"text": "Sign in with password",
|
|
254
|
+
"type": "info"
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
"created_at": "2024-10-29T09:45:38.863683Z",
|
|
261
|
+
"updated_at": "2024-10-29T09:45:38.863683Z",
|
|
262
|
+
"refresh": false,
|
|
263
|
+
"requested_aal": "aal1",
|
|
264
|
+
"state": "choose_method"
|
|
265
|
+
}
|