-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with social logins #14
Comments
I recently looked into a similar issue with the iOS wrapper. |
I extended the code with some whitelisted "social domains", this worked fine before. But now it stopped working, I guess I will need to experiment with this and add some "handler" for incoming URL's. Even if it keeps the social domain inside the webview it opens the app that corresponds with the social domain. e.g. m.facebook.com -> Facebook app. |
I guess you could try adding intent filters for those domains to the manifest, but that's not a real solution either (user is prompted which app to use, but if s/he selects "always open with", it will again always go to that app) Will try and make up my mind, please let me know if you find a solution. |
I'll let you know if I find a solution and share my findings! |
Any updates on this ? |
Unfortunately not, we have disabled social logins for now. |
Is Google Sing-in also kind of social login that is not working? |
We have a PWA that uses social logins. This used to work perfectly, but now I see that the users aren't being redirected to the right webview. This seems to be caused by registered app domains (like facebook) that hi-jack the request and open their own app.
Our approach would be to also register app domains to make sure the request get's redirected to app (webview) instead of to a new browser on the mobile device after the native app has verified the oauth request. We would just need a way for the app to handle "incoming" requests.
My question is: does this sound like the right approach?
The text was updated successfully, but these errors were encountered: