How can I use "login: required" on a Google App Engine app using a custom domain? -


i have python gae app on custom domain. when add login: required handler, site redirects app's appspot.com domain instead of custom domain. functionality of site isn't affected, , handlers , routes continue work expected — on appspot.com domain instead.

example snippet app.yaml below. mydomain.com works fine custom domain, mydomain.com/test , other handlers redirect appspot.com domain after authentication (myapp.appspot.com/test).

- url: /   script: main.application  - url: /test   script: main.application   login: required  - url: /.*   script: main.application   login: required 

is configuration issue how app engine handling domain, or issue redirect used login: required setting?

you need set authorized redirect uris in developer console (under api | credentials) custom domain rather default appspot.com. requests coming custom domain 'called-back' custom domain well.

take on attached screenshot on how configured application.

[redirect uri]


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -