Page MenuHomePhabricator

[native] Process username received in AuthResponse
ClosedPublic

Authored by bartek on May 20 2024, 11:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 21, 4:57 AM
Unknown Object (File)
Fri, Jun 21, 4:57 AM
Unknown Object (File)
Fri, Jun 21, 4:57 AM
Unknown Object (File)
Fri, Jun 21, 4:57 AM
Unknown Object (File)
Thu, Jun 13, 11:00 PM
Unknown Object (File)
Mon, Jun 10, 7:12 AM
Unknown Object (File)
Sun, Jun 9, 11:41 PM
Unknown Object (File)
Sun, Jun 9, 12:56 PM
Subscribers

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable