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)
Wed, Nov 6, 3:52 PM
Unknown Object (File)
Oct 15 2024, 5:39 PM
Unknown Object (File)
Oct 15 2024, 5:39 PM
Unknown Object (File)
Oct 15 2024, 5:39 PM
Unknown Object (File)
Oct 15 2024, 5:38 PM
Unknown Object (File)
Oct 15 2024, 5:38 PM
Unknown Object (File)
Sep 20 2024, 6:33 PM
Unknown Object (File)
Sep 19 2024, 10:56 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
No Lint Coverage
Unit
No Test Coverage

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