From e0d2196b278ba7bffb2dfead854d2038639a16a3 Mon Sep 17 00:00:00 2001 From: Michel Jung Date: Wed, 21 Aug 2024 22:21:52 +0200 Subject: [PATCH 1/3] Fix passkey documentation I found the correct way to set it up here in https://github.com/ory/kratos/blob/68693a43e4e1e3028f17789e72d0b79f6298d139/contrib/quickstart/kratos/all-strategies/kratos.yml#L37 --- docs/kratos/passwordless/05_passkeys.mdx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/kratos/passwordless/05_passkeys.mdx b/docs/kratos/passwordless/05_passkeys.mdx index 2e1e8e338..6bfa67fb6 100644 --- a/docs/kratos/passwordless/05_passkeys.mdx +++ b/docs/kratos/passwordless/05_passkeys.mdx @@ -72,7 +72,7 @@ import TabItem from '@theme/TabItem'; `} - + {`selfservice: methods: passkey: @@ -80,6 +80,20 @@ import TabItem from '@theme/TabItem'; config: display_name: "My Display Name"`} + + {`selfservice: + methods: + passkey: + enabled: true + config: + rp: + display_name: Your Application name + # Set 'id' to the top-level domain. + id: localhost + # Set 'origin' to the exact URL of the page that prompts the user to use WebAuthn. You must include the scheme, host, and port. + origins: + - http://localhost:4455`} + ``` From f6531fcb94bb20f13fca1fceb55281bbf8797829 Mon Sep 17 00:00:00 2001 From: Vincent Date: Fri, 27 Sep 2024 10:07:40 +0200 Subject: [PATCH 2/3] chore: update docs/kratos/passwordless/05_passkeys.mdx --- docs/kratos/passwordless/05_passkeys.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/kratos/passwordless/05_passkeys.mdx b/docs/kratos/passwordless/05_passkeys.mdx index 6bfa67fb6..b48f9892a 100644 --- a/docs/kratos/passwordless/05_passkeys.mdx +++ b/docs/kratos/passwordless/05_passkeys.mdx @@ -72,7 +72,7 @@ import TabItem from '@theme/TabItem'; `} - + {`selfservice: methods: passkey: From 8ea2b88aec541f772c81e24f36a71b660bd23d0b Mon Sep 17 00:00:00 2001 From: Vincent Date: Fri, 27 Sep 2024 10:07:47 +0200 Subject: [PATCH 3/3] chore: update docs/kratos/passwordless/05_passkeys.mdx --- docs/kratos/passwordless/05_passkeys.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/kratos/passwordless/05_passkeys.mdx b/docs/kratos/passwordless/05_passkeys.mdx index b48f9892a..7b0534082 100644 --- a/docs/kratos/passwordless/05_passkeys.mdx +++ b/docs/kratos/passwordless/05_passkeys.mdx @@ -80,7 +80,7 @@ import TabItem from '@theme/TabItem'; config: display_name: "My Display Name"`} - + {`selfservice: methods: passkey: