简体   繁体   中英

Authentication app engine using google apps domain

I created a new application, set the authentication to users of a specific google apps domain. I've created accounts and added this app into myexampledomain.mygbiz.com

I'm using java with Eclipse. When i upload this app to GAE, no login request. Everyone can access...

How can I request users login before visit this app?

I think you just need to set login required into your app.yaml file:

handlers:
- url: .*
  login: required

For more info: https://developers.google.com/appengine/docs/java/configyaml/appconfig_yaml#Requiring_Login_or_Administrator_Status

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM