portis-project / web-sdk

Portis Web SDK
https://portis.io
MIT License
77 stars 31 forks source link

Auth with blocked third party cookies in Safari/Firefox/Status #73

Open Feinminen opened 4 years ago

Feinminen commented 4 years ago

Expected behavior:

Open popup when logging in with blocked third party cookies; (screenshot made in Chrome) image

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:

1) Open Safari/Firefox/Status 2) Block third-party cookies 3) Try to connect to the wallet

ardunster commented 3 years ago

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.

musetraine commented 2 years ago

any idea?