I'm having problems with a very simple example using users.create_login_url in the Google App Engine, based on the sample code in the How-to guide . The example works fine on the local development server, but not when deployed to appspot.com.
import webapp2 import urllib2 from google.appengine.api import users class Main(webapp2.RequestHandler): def get(self): login_url = users.create_login_url('/') self.response.write(login_url) app = webapp2.WSGIApplication([ ('/', 'Main'), ], debug=True)
Previous questions, such as this one , indicate that the problem is using the Google Apps domain instead of the Google Accounts API, which I think relates to the setting presented below. Changing these settings did not fix the problem.
What could be the reason for this?

source share