google / google/gae-secure-scaffold-python3
cloud.users api throwing assert error on local development
未关闭
- 主要语言
- Python
- 星标
- 35
- 派生
- 19
- PR 合并指标
- 30 天内没有已合并 PR
描述
When trying to use users.get_current_user(), this line gives an assertion error which prevents the app from running locally:
https://github.com/google/gae-secure-scaffold-python3/blob/master/src/securescaffold/contrib/appengine/users.py#L69
As a current solution we wrap it in a try/catch, using a default email on an exception.
Is possible to have a mock user for a local environment, or similar?
贡献指南
评估
这个 Issue 还没有评估数据。