From 57b624f02b18813a08e0750fb7587707d307b94d Mon Sep 17 00:00:00 2001 From: Michel Jung Date: Fri, 27 Sep 2024 10:33:41 +0200 Subject: [PATCH] fix: passkey documentation (#1831) --- 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 8003dcc87..257a034c1 100644 --- a/docs/kratos/passwordless/05_passkeys.mdx +++ b/docs/kratos/passwordless/05_passkeys.mdx @@ -86,7 +86,7 @@ Alternatively, use the Ory CLI to enable the passkey strategy: `} - + {`selfservice: methods: passkey: @@ -94,6 +94,20 @@ Alternatively, use the Ory CLI to enable the passkey strategy: 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`} + ```