nodejs-docs-samples icon indicating copy to clipboard operation
nodejs-docs-samples copied to clipboard

Admin Login example

Open pashaseliverstov opened this issue 8 years ago • 1 comments

in https://cloud.google.com/appengine/docs/standard/nodejs/config/appref says

"login | The login element is not supported for Node.js in the standard environment. For user management you can use Cloud Identity and Access Management, see Access Control for details."

Please provide code examples for allowing access only for app admins.

pashaseliverstov avatar Aug 07 '18 04:08 pashaseliverstov

Also want an example of how this is done. And if we can secure headers using the app.yaml? e.g.

handlers:
- url: /.*
  secure: always
  login: admin
  http_headers:
    X-Frame-Options: "DENY"
    Strict-Transport-Security: "max-age=2592000; includeSubdomains"
    X-Content-Type-Options: "nosniff"
    X-XSS-Protection: "1; mode=block"

kmturley avatar Oct 03 '18 21:10 kmturley