Third party Google OAuth login broken on Windows Phone, Sailfish

Ketola

Member
Logging in using a Google account doesn't work on Windows Phone (7.8) or Sailfish (Jolla). We used to run Social Network Authentication plugin prior to updating to v1.3.2, and the login worked OK on WP7.8 then (Sailfish not tested).

What happens is if the association with Google hasn't been created, Google asks for the authentication etc. Then after a few redirects to the URL below with title "Connecting..." (there doesn't seem to be anything "private" in the URL). The same happens if I first authenticate the application on a desktop browser and then try and login on the phone. The browser is logged in on Google (I can access Gmail etc.), but XenForo authentication fails.

This is from trying to login here at Xenforo.com:
Code:
https://accounts.google.com/o/oauth2/auth?client_id=531377224319.apps.googleusercontent.com&redirect_uri=postmessage&response_type=code%20token%20id_token%20gsession&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fplus.login%20email&access_type=offline&request_visible_actions=http%3A%2F%2Fschemas.google.com%2FAddActivity&cookie_policy=single_host_origin&authuser=0&hl=en-US&include_granted_scopes=true&proxy=oauth2relay1485302536&origin=http%3A%2F%2Fxenforo.com&state=1942748989%7C0.6895874736275205

Unfortunately I'm unable to debug the issue further. I have also been unable to replicate the problem on desktop browsers.

Edit: I also see a "Welcome back" from G+ at the bottom when I visit the forums on a mobile browser.

Login also fails on Windows Phone 8.1. However the accounts.google.com page does close on WP8.1, but nothing happens on the XenForo page. I.e. the pulldown login menu stays open, and if I reload the page I'm still not logged in.

Signing in with Twitter seems to work as expected on WP7.8
 
Last edited:
Top Bottom