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)
Oct 2 2024, 5:25 PM
Unknown Object (File)
Sep 7 2024, 11:25 PM
Unknown Object (File)
Sep 7 2024, 11:25 PM
Unknown Object (File)
Sep 7 2024, 11:25 PM
Unknown Object (File)
Sep 7 2024, 11:25 PM
Unknown Object (File)
Aug 28 2024, 12:51 AM
Unknown Object (File)
Aug 9 2024, 4:09 AM
Unknown Object (File)
Aug 6 2024, 6:52 AM
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