Page MenuHomePhabricator

[native] Set incognito for SIWE WebView
ClosedPublic

Authored by ashoat on Dec 25 2022, 6:55 PM.
Tags
None
Referenced Files
F2149310: D6036.id20120.diff
Sun, Jun 30, 7:38 AM
Unknown Object (File)
Sun, Jun 30, 3:30 AM
Unknown Object (File)
Mon, Jun 24, 3:15 AM
Unknown Object (File)
Fri, Jun 21, 9:54 PM
Unknown Object (File)
Thu, Jun 13, 12:24 AM
Unknown Object (File)
Sat, Jun 1, 9:43 PM
Unknown Object (File)
May 26 2024, 8:47 AM
Unknown Object (File)
May 24 2024, 7:08 AM
Subscribers

Details

Summary

You can get stuck halfway through the SIWE flow if RainbowKit in JS thinks you're authenticated, but your Rainbow app doesn't.

By setting incognito={true}, we reset the state of the WebView on every open, so that we can start the flow from scratch.

Depends on D6035

Test Plan

Get stuck halfway through SIWE flow, then apply this diff and see myself automatically unstuck

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable