Skip to content

Commit 96720b0

Browse files
jhickmanitjonas-jonasvinckrdeepakprabhakara
authored
feat: added a guide for the passkey integrations (#2362)
* feat: added a guide for the passkey integrations work needed for mobile passkeys. Also tackled a bit of the web passkeys as well. * chore: format * fix: broke out of mdx code block and didn't close tab items * chore: format * fix: Apply suggestions from code review to fix format Co-authored-by: Jonas Hungershausen <jonas.hungershausen@ory.sh> * chore: format * chore: Apply suggestions from code review for style Co-authored-by: Vincent <vincent@ory.sh> * chore: format * fix: add to sidebar * fix: changed the language around the apple-app-site-association and assetlink.json to be explicit about RP ID being the recommended host for these files. * chore: format * chore: fix build * chore: fix build --------- Co-authored-by: Jonas Hungershausen <jonas.hungershausen@ory.sh> Co-authored-by: Vincent <vincent@ory.sh> Co-authored-by: Deepak Prabhakara <deepak.prabhakara@ory.sh>
1 parent 419f7d0 commit 96720b0

File tree

7 files changed

+959
-6
lines changed

7 files changed

+959
-6
lines changed

docs/kratos/emails-sms/05_custom-email-templates.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ To learn more about the verification flow, read
6363
When you enable the one-time code method the login flow will need to send out an email to users signing in through the one-time
6464
code method. The system will then use the `login_code.valid` template to send the login code to the user.
6565

66-
To learn more about login via a one-time code, read the [one-time code](../passwordless/06_code.mdx) documentation.
66+
To learn more about login via a one-time code, read the [one-time code](../passwordless/07_code.mdx) documentation.
6767

6868
```mdx-code-block
6969
</TabItem>
@@ -74,7 +74,7 @@ To learn more about login via a one-time code, read the [one-time code](../passw
7474
When you enable the one-time code method the registration flow will need to send out an email to users signing up using the
7575
one-time code method. The system will then use the `registration_code.valid` template to send the registration code to the user.
7676

77-
To learn more about registration via a one-time code, read the [one-time code](../passwordless/06_code.mdx) documentation.
77+
To learn more about registration via a one-time code, read the [one-time code](../passwordless/07_code.mdx) documentation.
7878

7979
```mdx-code-block
8080
</TabItem>

docs/kratos/passwordless/05_passkeys.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,18 @@ is defined, the passkey strategy will not work.
148148
}
149149
```
150150

151+
### Implementing passkeys in your application
152+
153+
After configuring passkeys, you need to integrate them into your application. The implementation differs depending on your
154+
platform:
155+
156+
- Web applications can use Ory's `webauthn.js` helper script or manually integrate the WebAuthn API.
157+
- Mobile applications (iOS and Android) require platform-specific credential management APIs and direct integration with Ory's
158+
JSON API endpoints.
159+
160+
For detailed implementation instructions, code examples, and best practices for both web and mobile platforms, see
161+
[Implementing passkeys for web and mobile](./06_passkeys-mobile.mdx).
162+
151163
## Passkeys with the WebAuthN strategy
152164

153165
### Configuration

0 commit comments

Comments
 (0)