Page MenuHomePhabricator

[identity] introduce RegisterWalletUser RPC
ClosedPublic

Authored by varun on Feb 14 2024, 10:04 AM.
Tags
None
Referenced Files
F3362355: D11078.id37292.diff
Sun, Nov 24, 10:24 PM
Unknown Object (File)
Thu, Nov 7, 2:19 AM
Unknown Object (File)
Oct 15 2024, 6:20 PM
Unknown Object (File)
Oct 15 2024, 6:20 PM
Unknown Object (File)
Oct 15 2024, 6:20 PM
Unknown Object (File)
Oct 15 2024, 6:20 PM
Unknown Object (File)
Oct 15 2024, 6:19 PM
Unknown Object (File)
Sep 22 2024, 2:57 PM
Subscribers

Details

Summary

the existing LogInWalletUser RPC now handles login exclusively. Thew new Register RPC will handle registration exclusively. Changes in this diff:

  • Introduced new RPC in .proto file and renamed WalletLoginRequest -> WalletAuthRequest so we can use it for both registration and login
  • Implemented the new register RPC on the identity service, and updated the existing login RPC to only handle login
  • Updated grpc-web codegen to reflect the .proto changes
  • Updated the native_rust_library to use the new WalletAuthRequest message name

Depends on D11062

Test Plan

confirmed that web flow check passes and native_rust_library and identity build successfully. will test the wallet RPCs further in the stack starting with D11005

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

fix the access token metadata for wallet login and registration

bartek added inline comments.
services/identity/src/client_service.rs
487 ↗(On Diff #37292)

When D11072 gets landed, can you rebase and use it here?

This revision is now accepted and ready to land.Feb 15 2024, 10:26 PM
services/identity/src/client_service.rs
487 ↗(On Diff #37292)

yeah good call

This revision was automatically updated to reflect the committed changes.