HomePhabricator
Diffusion Comm b692fb3d2de3

[native] Process username received in AuthResponse

Description

[native] Process username received in AuthResponse

Summary:
Part of ENG-8137.
Addresses ENG-7215 on native.

Modified native_rust_library and native Identity client to use username received in AuthResponse message from login/registration RPCs.

WARNING: We should first deploy Identity with D12127 before landing this diff. Otherwise, the Identity won't be sending username in responses and gRPC will default this to empty string, which potentially breaks all login / registration actions.

Depends on D12127

Test Plan: Console.log the return value of processAuthResult() in login and register RPCs (both password and wallet). Confirmed that username is present.

Reviewers: varun, will, inka

Reviewed By: varun

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on May 20 2024, 10:42 PM
Reviewer
varun
Differential Revision
D12134: [native] Process username received in AuthResponse
Parents
rCOMMd3b9774af2c0: [commtest] Add test for initial device list
Branches
Unknown
Tags
Unknown