reown-com / appkit

The full stack toolkit to build onchain app UX
https://reown.com/appkit
Apache License 2.0
4.94k stars 1.41k forks source link

[feature] Appkit (Specifically social logins) functionality in PWA / standalone mode on iOS #3214

Open R-qanawati opened 2 weeks ago

R-qanawati commented 2 weeks ago

What problem does this new feature solve?

When using AppKit's social authentication (Google/Apple/X) in PWA/standalone mode on iOS, the auth popup results in about:blank or fails to complete the OAuth flow. This occurs specifically when the app is installed as a PWA and launched from the home screen.

Describe the solution you'd like

  1. Open auth successfully
  2. Complete OAuth flow
  3. Return to PWA with authenticated session
R-qanawati commented 1 week ago

When i have my app running in PWA i get errors such as

Unable to post message to https://auth.magic.link. Recipient has origin https://secure.walletconnect.org. [Error] Origin https://<myvercellink>.vercel.app not found on Allowlist - update configuration to enable social login

my vercel.app is an authorized origin on reown dashboard

julher625 commented 1 week ago

See this link with the documentation: https://docs.reown.com/cloud/verify

R-qanawati commented 1 week ago

See this link with the documentation: https://docs.reown.com/cloud/verify

I verified the domain but the issue still persists