Page MenuHomePhabricator

[web] use identity wallet login in siwe-login-form
ClosedPublic

Authored by varun on Feb 9 2024, 10:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 27, 4:43 PM
Unknown Object (File)
Tue, Jun 25, 2:11 AM
Unknown Object (File)
Mon, Jun 24, 8:34 PM
Unknown Object (File)
Sat, Jun 22, 4:29 PM
Unknown Object (File)
Wed, Jun 19, 12:18 AM
Unknown Object (File)
May 31 2024, 4:14 AM
Unknown Object (File)
May 23 2024, 5:16 AM
Unknown Object (File)
May 20 2024, 1:30 AM
Subscribers
None

Details

Summary

If usingCommServicesAccessToken, call identity service wallet login RPC.

Depends on D11019

Test Plan

Confirmed that action succeeded in redux devtools, inspected payload and confirmed that the access token and user ID matched local DDB

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

varun requested review of this revision.Feb 9 2024, 11:02 AM
ashoat requested changes to this revision.Feb 9 2024, 11:24 AM
ashoat added inline comments.
web/account/siwe-login-form.react.js
138 ↗(On Diff #36949)

You'll need to find a way to replicate this

This revision now requires changes to proceed.Feb 9 2024, 11:24 AM
web/account/siwe-login-form.react.js
138 ↗(On Diff #36949)

now that we've separated wallet login and registration RPCs, calling login ensures that we don't register a new account

match existing error handling

Are we planning a "fallback" mechanism here?

Are we planning a "fallback" mechanism here?

we have a new plan instead of a fallback mechanism including automated alerts, daily manual testing, and an opt-in mechanism for clients to inform us when there are issues

This revision is now accepted and ready to land.Feb 22 2024, 7:44 PM