Skip to content

Commit 756d31d

Browse files
committed
chore(docs): add note about passkeys and 1password compat
1 parent 5a693f7 commit 756d31d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/pages/getting-started/providers/passkey.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,3 +212,21 @@ export default function Login() {
212212
## Options
213213

214214
You can find all of the Passkeys provider options under the [API reference](/reference/core/providers/webauthn#webauthnconfig).
215+
216+
## Notes
217+
218+
- If you only pass a field named `username`, like below. 1Password **will not** offer to save new Passkeys in your login form.
219+
220+
```ts filename="@/auth.ts" /username/
221+
providers = [
222+
Passkey({
223+
formFields: {
224+
username: {
225+
label: "Username",
226+
required: true,
227+
autocomplete: "webauthn username",
228+
},
229+
},
230+
}),
231+
]
232+
```

0 commit comments

Comments
 (0)