corbado / flutter-passkeys

Easily provide passkey authentication based on FIDO2 / WebAuthn for Flutter apps (iOS & Android) via a dedicated Flutter package
https://www.corbado.com/passkeys/flutter
BSD 3-Clause "New" or "Revised" License
63 stars 29 forks source link

Fill user.email value in example #35

Closed vincentdelitz closed 1 year ago

vincentdelitz commented 1 year ago

Background Currently, in the example, we use the email address as the "name" and leave the email field blank when creating a new user, as there is no username field in the example.

TODO Can we please add the email also to the corresponding email address field in the backend.

incorbador commented 1 year ago

Username and email are both set (to the same value to keep the example simple). The email is just not returned because it has not been verified (in that case the Corbado backend will not include the email as part of the JWT).

I verified the email for one of the accounts I created in the example => the email is shown then.

incorbador commented 1 year ago

I'll close this issue here for now then :)