firebase-admin-node icon indicating copy to clipboard operation
firebase-admin-node copied to clipboard

user record changes for getAccountInfo()

Open pragatimodi opened this issue 1 year ago • 0 comments

Since PasskeyInfo is only enrolled via client SDK for the users and we can only GET enrolled passkeys, integration testing is not possible here. Manually tested

getAuth().getUser(<UID>).then((user) => console.log(user.passkeyInfo));

for a user with enrolled passkeys printed :

passkeyInfo: [
    PasskeyInfo {
      name: 'Unnamed account (Web)',
      credentialId: '<CREDENTIALS>',
      displayName: ''
    }
  ]

pragatimodi avatar Oct 18 '23 20:10 pragatimodi