Page MenuHomePhabricator

[web] Include `primaryIdentityPublicKey` when logging in from `web`
ClosedPublic

Authored by atul on Feb 13 2023, 4:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 6:41 AM
Unknown Object (File)
Sun, Nov 10, 6:41 AM
Unknown Object (File)
Sun, Nov 10, 6:41 AM
Unknown Object (File)
Sun, Nov 10, 6:40 AM
Unknown Object (File)
Tue, Nov 5, 2:09 AM
Unknown Object (File)
Oct 15 2024, 4:41 PM
Unknown Object (File)
Oct 5 2024, 7:36 PM
Unknown Object (File)
Oct 2 2024, 8:15 PM
Subscribers
None

Details

Summary

We're now passing primaryIdentityPublicKey to logInResponder when we log in from both native and web.

Test Plan

primaryIdentityPublicKey appears in request:

8fbf6f.png (212×1 px, 65 KB)

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul published this revision for review.Feb 13 2023, 4:52 PM
atul edited the test plan for this revision. (Show Details)
atul added inline comments.
web/account/log-in-form.react.js
28–33 ↗(On Diff #22511)

We want primaryIdentityPublicKey to be in dep list so we can re-fetch primaryIdentityPublicKey once LOG_OUT_SUCCESS gets processed and unsets primaryIdentityPublicKey.

Without these changes, primaryIdentityPublicKey would be null once LOG_OUT_SUCCESS gets processed and leaves the "Log in" button permanently disabled.

This revision is now accepted and ready to land.Feb 13 2023, 6:26 PM