HomePhabricator
Diffusion Comm 9f5a3147c352

[landing] Pull `siweNonce` from `SIWENonceContext` and include in SIWE message

Description

[landing] Pull siweNonce from SIWENonceContext and include in SIWE message

Summary:
Consume SIWENonceContext to retrieve siweNonce and pass to createSiweMessage so the nonce can be included in the signed message.

Depends on D5977

Test Plan: Logged nonce values from keyserver to native to landing to the SIWE message and made sure they were as expected. Also checked the siwe_nonces table to make sure nonce matched the most recent: https://blob.sh/139f21.png

Reviewers: ashoat, tomek

Reviewed By: ashoat

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