Problem
When in an in-app-browser, like Google Hangout, Telegram or LINE messenger, the user won't be redirected back to my website after a success login through facebook login dialog. It just shows a blank page.
Everything works fine when using iPhone Safari app or Android Chrome app.
Environment
I am using Django==1.11.3 and django-allauth==0.34.0 (which utilizes Facebook Graph API v2.5), and here are my settings.py
SOCIALACCOUNT_PROVIDERS = {
'facebook': {
'SCOPE': ['email', 'public_profile', 'user_friends'],
'METHOD': 'js_sdk',
'LOCALE_FUNC': lambda request: 'zh_TW',
'VERIFIED_EMAIL': True
}
}
Anyone experienced the same issue?