I think the .* handler in the admin.yaml is matching the /_ah/login_required path, so the /_ah/login_required path never matches and never calls do_openid_login.py.
Instead, put the /_ah/login_required handler before the .* handler.
application: check4se
module: admin
version: v1
runtime: python27
api_version: 1
threadsafe: false
automatic_scaling:
min_idle_instances: 2
handlers:
- url: /_ah/login_required
script: do_openid_login.py
- url: .*
script: admin.app
Additionally, you might be having a similar problem with the dispatch.yaml
You may want to put the static resource paths first or else anything on the admin domain will go to the admin resource and no the default resource.
application: check4se
dispatch:
- url: "*/images"
module: default
- url: "*/stylesheets"
module: default
- url: "*/js"
module: default
- url: "admin.check4se.appspot.com/*"
module: admin