Page MenuHomePhabricator

[identity] introduce RegisterWalletUser RPC
ClosedPublic

Authored by varun on Feb 14 2024, 10:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 24, 5:47 AM
Unknown Object (File)
Tue, Dec 24, 5:47 AM
Unknown Object (File)
Tue, Dec 24, 5:47 AM
Unknown Object (File)
Tue, Dec 24, 5:46 AM
Unknown Object (File)
Tue, Dec 24, 5:46 AM
Unknown Object (File)
Tue, Dec 17, 4:45 PM
Unknown Object (File)
Sun, Dec 1, 3:23 AM
Unknown Object (File)
Nov 28 2024, 12:22 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
No Lint Coverage
Unit
No Test Coverage

Event Timeline

fix the access token metadata for wallet login and registration

bartek added inline comments.
services/identity/src/client_service.rs
487

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

yeah good call

This revision was automatically updated to reflect the committed changes.