HomePhabricator
Diffusion Comm 3a8203179c85

[identity] register user finish

Description

[identity] register user finish

Summary:
Implement RegisterPasswordUserFinish RPC.

We use the cached state from RegisterPasswordUserStart to complete the
OPAQUE registration workflow, storing a password file for the user and returning
an access token and user ID

Depends on D7533

Test Plan: called the start and finish RPCs, got back a token and id, and verified that the DDB tables were updated. also tried calling the finish RPC >10s after start and got back an error, as expected

Reviewers: jon, bartek, ashoat

Reviewed By: jon, ashoat

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D7534

Details

Provenance
varunAuthored on Apr 17 2023, 7:45 PM
Reviewer
jon
Differential Revision
D7534: [identity] register user finish
Parents
rCOMMee0fde6c2817: [identity] register start
Branches
Unknown
Tags
Unknown