File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,9 @@ import TabItem from '@theme/TabItem';
86
86
87
87
### Identity schema
88
88
89
- If you want to use a custom identity schema, you must define which field of the identity schema is the primary identifier for the
90
- passkey.
89
+ If you want to use a custom identity schema, you must define which field of the identity schema is the display name for the
90
+ passkey. If you do not define the ` passkey.display_name ` field, the ` webauthn.identifier ` will be used as a fallback. If neither
91
+ is defined, the passkey strategy will not work.
91
92
92
93
``` json5 title="identity.schema.json" {16-18}
93
94
{
@@ -106,7 +107,7 @@ passkey.
106
107
credentials: {
107
108
// ...
108
109
passkey: {
109
- identifier : true ,
110
+ display_name : true ,
110
111
},
111
112
},
112
113
// ...
You can’t perform that action at this time.
0 commit comments