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)
Tue, Dec 24, 4:32 AM
Unknown Object (File)
Tue, Dec 24, 4:32 AM
Unknown Object (File)
Tue, Dec 24, 4:32 AM
Unknown Object (File)
Tue, Dec 24, 4:32 AM
Unknown Object (File)
Tue, Dec 24, 4:31 AM
Unknown Object (File)
Mon, Dec 23, 3:31 AM
Unknown Object (File)
Fri, Dec 20, 6:06 AM
Unknown Object (File)
Fri, Dec 6, 7:40 PM
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