[英]Google App Engine Python App Require Login
I am new to the GAE.我是 GAE 的新手。 I just successfully created a Google App Engine app by following this guide: https://cloud.google.com/appengine/docs/standard/python3/quickstart .我刚刚按照本指南成功创建了一个 Google App Engine 应用程序: https : //cloud.google.com/appengine/docs/standard/python3/quickstart 。 It uses Python and Flask.它使用 Python 和 Flask。 Now anybody in the world can open a browser and navigate to https://<project_id>.appspot.com/
and see the Hello World
message.现在世界上的任何人都可以打开浏览器并导航到https://<project_id>.appspot.com/
并查看Hello World
消息。
Question: How can I add a login requirement?问题:如何添加登录要求? That is, how can I add an authentication mechanism to the app such that only users that I grant access can see my Hello World
message?也就是说,我如何向应用程序添加身份验证机制,以便只有我授予访问权限的用户才能看到我的Hello World
消息? Could you maybe point me to some guides/tutorials?你能指点我一些指南/教程吗?
Thank you!谢谢!
Sure, there are some options available for you to configure authentication with App Engine and Python.当然,有一些选项可供您使用 App Engine 和 Python 配置身份验证。 You can configure them on one of the below options:您可以使用以下选项之一配置它们:
You can access more information and steps on how to configure one of the above options, by accessing the below link.通过访问以下链接,您可以访问有关如何配置上述选项之一的更多信息和步骤。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.