HomePhabricator
Diffusion Comm e5072ffca7f7

[web] Use `signedIdentityKeysBlobSelector` in `SIWELoginForm`

Tags
None
Referenced Files
F424169: 1b82fd.png
Mar 14 2023, 9:45 AM
File Not Attached
F424167: 9308e0.png
Mar 14 2023, 9:45 AM
File Not Attached
F424168: Screenshot 2023-03-12 at 5.47.45 PM.png
Mar 14 2023, 9:45 AM
File Not Attached
Subscribers
None

Description

[web] Use signedIdentityKeysBlobSelector in SIWELoginForm

Summary:
Now that we have signedIdentityKeysBlobSelector, we can use it in TraditionalLoginForm (previous diff) and SIWELoginForm to simplify things.


Depends on D7047

Test Plan:

  1. Try to "SIWE" from web.

Screenshot 2023-03-12 at 5.47.45 PM.png (2×2 px, 731 KB)

  1. Set breakpoint in siweAuthResponder and make sure signedIdentityKeysBlob comes through and is validated as expected.

9308e0.png (1×4 px, 1 MB)

  1. Check the cookies table to see if signed_identity_keys column is populated correctly.

1b82fd.png (534×2 px, 142 KB)

Reviewers: ashoat

Reviewed By: ashoat

Differential Revision: https://phab.comm.dev/D7048

Details

Provenance
atulAuthored on Mar 14 2023, 9:28 AM
Reviewer
ashoat
Differential Revision
D7048: [web] Use `signedIdentityKeysBlobSelector` in `SIWELoginForm`
Parents
rCOMMe44fc9c0e371: [web] Use `signedIdentityKeysBlobSelector` in `TraditionalLoginForm`
Branches
Unknown
Tags
Unknown