HomePhabricator
Diffusion Comm 5025b404144a

[landing] Add `siwePrimaryIdentityPublicKey` to `SIWEContext`

Description

[landing] Add siwePrimaryIdentityPublicKey to SIWEContext

Summary:
Add siwePrimaryIdentityPublicKey to SIWEContext so the value is available throughout landing without prop drilling. Specifically we'll be using siwePrimaryIdentityPublicKey in siwe.react.js where we'll need the public key so it can be included in the SIWE message that gets signed by the user's wallet.


Depends on D6127

Test Plan:
Able to retrieve the value of siwePrimaryIdentityPublicKey in siwe.react.js:
https://blob.sh/ef0479.png (yeah contrast isn't great, but the public key is there as expected).

Reviewers: ashoat, tomek

Reviewed By: ashoat

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

Details

Provenance
atulAuthored on Jan 3 2023, 1:27 PM
Reviewer
ashoat
Differential Revision
D6128: [landing] Add `siwePrimaryIdentityPublicKey` to `SIWEContext`
Parents
rCOMMd68c68bd0bff: [landing] Rename `SIWENonceContext` to `SIWEContext`
Branches
Unknown
Tags
Unknown