web-sdk
web-sdk copied to clipboard
Auth with blocked third party cookies in Safari/Firefox/Status
Expected behavior:
Open popup when logging in with blocked third party cookies;
(screenshot made in Chrome)
Actual behavior:
There is an endless cycle of attempts to log in and the popup isn't open
Exemplary current connect implementation
async connect() {
const PortisLibrary = await import('@portis/web3');
const Portis = PortisLibrary.default;
const portis = new Portis(apiKey, network);
const provider = portis.provider;
await provider.enable();
}
Steps to reproduce the behavior:
- Open Safari/Firefox/Status
- Block third-party cookies
- Try to connect to the wallet
I just encountered this issue as a user trying to log in with Portis and had to enable third party cookies in Safari to log in.
any idea?