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';
8686
8787### Identity schema
8888
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.
9192
9293``` json5 title="identity.schema.json" {16-18}
9394{
@@ -106,7 +107,7 @@ passkey.
106107 credentials: {
107108 // ...
108109 passkey: {
109- identifier : true ,
110+ display_name : true ,
110111 },
111112 },
112113 // ...
You can’t perform that action at this time.
0 commit comments