5️⃣ Backup
Backup data is no longer the recommended approach to perform account recovery, and the feature has been removed from Android and iOS SDKs. The recommended flow is using the temporary state. Follow the guide on account recovery.
Back up your user's data so you can restore their Keyless account when necessary.
Create a backup (not recommended)
Create backups after authentication, and push them into your backup system. Each backup is encrypted with aes-gcm
using the backupKey
as symmetric key. You need both backupData
and backupKey
to restore an account with Keyless.
Restore from a backup (not recommended)
Restore the user account by providing backupData
and backupKey
to the withBackup
method:
Last updated
Was this helpful?