HomePhabricator
Diffusion Comm 7127252683ec

[keyserver] Capture `siwe-nonce` header and make available to `SIWE` component

Tags
None
Referenced Files
F299413: 3b63ab.png
Dec 21 2022, 11:38 PM
File Not Attached
Subscribers
None

Description

[keyserver] Capture siwe-nonce header and make available to SIWE component

Summary:
Capture the siwe-nonce header (which will be passed via the WebView component on native) from the req object and make available to SIWE component in landing via SIWENonceContext.Provider.


Depends on D5975

Test Plan:
Able to retrieve value in SIWE as expected:

3b63ab.png (78×970 px, 45 KB)

Reviewers: ashoat, tomek

Reviewed By: ashoat

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

Details

Provenance
atulAuthored on Dec 21 2022, 11:33 PM
Reviewer
ashoat
Differential Revision
D5977: [keyserver] Capture `siwe-nonce` header and make available to `SIWE` component
Parents
rCOMM0eaf5cf64463: [keyserver] Clean up stale (>30min old) SIWE nonces
Branches
Unknown
Tags
Unknown