I’ve created a service which relies on the user logging in with their Patreon account. If their pledge is > X they get access to exclusive content. This works. Yey! But when you add the site/app to your home screen on iOS and open it from the home screen this happens:
- The user hits the “Log in with Patreon” button
- If the user has the Patreon app installed, iOS opens this app for authentication. If not you’re sent to Safari.
- Either way you’re sent to Safari after login since the callback URL from Patreon is a web page.
Here’s a screen capture to illustrate the problem.
Is there a workaround with this? I’ve tried using popup screens for the OAuth to keep everything in the same site and closing it when authentication is finished, but the popup can’t be closed programmatically when it’s inside a PWA.
Thanks!