My next application works fine on the desktop (all browsers, including Chrome). On Android devices, this works great in all browsers except Chrome.
class MainPage(webapp2.RequestHandler):
def get(self):
user = users.get_current_user()
if user:
self.response.headers['Content-Type'] = 'text/plain'
self.response.write('Hello, ' + user.nickname())
else:
self.redirect(users.create_login_url(self.request.uri))
On Android Chrome, this only works fine if you have one google account stored on mobile devices.
However, if you have several google accounts created in Adroid, this application crashes (only in Chrome) with the following error after it asked to select the google account that will be used for this application.
Error: Invalid request. Your client has issued an incorrect or illegal request.
, Chrome Google. , google.