Complete Registration
To complete registration you'll need the same header values as used in Initiate Registration. The completeRegistration method is the part of the authentication API that finalizes the user registration process. It takes encrypted user data and a registration challenge, verifies it, and if successful, returns an identifier for the user.
Request Spec
HTTP Method: POST
x-scope-id: A UUID string representing the application scope.
x-encrypted-key: A string containing the encrypted key for secure communication.
Body:
encrypted_attestation: A string containing the encrypted attestation object.
The Initiate Registration flow returns an
encrypted_creation_challenge
which we need to decrypt with the decryption method below, and then, create an attestation, which we then encrypt and send as part of our request.
You can then encrypt the attestation with your AES Key and send it as part of the request
encrypted_user: A string containing the encrypted user data. This is the same encrypted_user from Initiate Registration
challenge_id: A UUID string representing the challenge issued during initiation. This is the challenge_id result from Initiate Registration
Response Spec
Success:
account_id: A UUID string that uniquely identifies the user's account.
identifier_hash: A string representing the hash of the user's identifier.
Error: An object containing error details.
Request Example
Response Example
Last updated