SDK started using https://www.google.com/accounts/Login?

223 views
Skip to first unread message

Aral

unread,
Jun 24, 2008, 5:38:56 PM6/24/08
to Google App Engine
OK, either I'm going nuts or my computer's possessed or something 'cos
the login URL for my app has magically started to come back as:

https://www.google.com/accounts/Login?continue=http%3A//localhost%3A8080/profile/

instead of using the local SDK login URL when running off of the local
SDK.

Doing a global find on the google appengine source, I found:

_DEFAULT_LOGIN_URL = 'https://www.google.com/accounts/Login?continue=
%s'
_DEFAULT_LOGOUT_URL = 'https://www.google.com/accounts/Logout?continue=
%s'

In user_service_stub.py

Previously, when testing, my app would hit the local login mock.

Does anyone have any idea why I'm suddenly getting google.com URIs
when testing locally? The URI, by the way, returns:

"The page you requested is invalid."

Eeek! :)

Aral

Aral

unread,
Jun 24, 2008, 6:18:13 PM6/24/08
to Google App Engine
Of course it was a regression that I introduced. I was able to
painstakingly narrow it down by stepping through SVN revisions until I
encountered the behavior and it was down to my doctests code that I'd
forgotten to comment out.

Read all about what caused it on my previous post:
http://aralbalkan.com/1358

I also got some strangeness when I mistakenly decided that it would be
a great idea to import settings.py directly instead of importing
django.conf.settings previously in one of my modules.

Oh well, hope this helps someone else who may be so inclined :)

Aral

On Jun 24, 10:38 pm, Aral <a...@aralbalkan.com> wrote:
> OK, either I'm going nuts or my computer's possessed or something 'cos
> the login URL for my app has magically started to come back as:
>
> https://www.google.com/accounts/Login?continue=http%3A//localhost%3A8...
Reply all
Reply to author
Forward
0 new messages