Skip to content

Commit

Permalink
fix: passkey documentation (#1831)
Browse files Browse the repository at this point in the history
  • Loading branch information
micheljung authored Sep 27, 2024
1 parent e37176f commit 57b624f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/kratos/passwordless/05_passkeys.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,28 @@ Alternatively, use the Ory CLI to enable the passkey strategy:
`}
</CodeBlock>
</TabItem>
<TabItem value="full" label="Full Config" default>
<TabItem value="network" label="Ory Network" default>
<CodeBlock language="yaml" title="config.yml">{`selfservice:
methods:
passkey:
enabled: true
config:
display_name: "My Display Name"`}</CodeBlock>
</TabItem>
<TabItem value="self-hosted" label="Self-hosted Ory Kratos" default>
<CodeBlock language="yaml" title="config.yml">{`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`}</CodeBlock>
</TabItem>
</Tabs>
```

Expand Down

0 comments on commit 57b624f

Please sign in to comment.