Page MenuHomePhabricator

[native] Set incognito for SIWE WebView
ClosedPublic

Authored by ashoat on Dec 25 2022, 6:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 28, 10:35 PM
Unknown Object (File)
Fri, Nov 22, 5:11 AM
Unknown Object (File)
Fri, Nov 22, 5:11 AM
Unknown Object (File)
Fri, Nov 22, 5:10 AM
Unknown Object (File)
Fri, Nov 22, 5:09 AM
Unknown Object (File)
Nov 13 2024, 5:22 AM
Unknown Object (File)
Nov 8 2024, 8:12 AM
Unknown Object (File)
Nov 5 2024, 1:38 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