Registering Multiple Devices

It is common for users to have multiple devices and the more devices that are registered the easier it is to logon in the event one of the devices is lost or stolen. Your online service must be able to store multiple public keys from this user. Because every key is unique for every device, we will store all these keys connected to the same user. It is a best practice to allow users to give nicknames to their authenticators. A sample database schema to store this information might look like this:

fido2_data_model.png