reown-com / appkit

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

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

Open R-qanawati opened 5 days ago

R-qanawati commented 5 days 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 4 days 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