正如标题所说:为什么我不能在没有授权策略的情况下使用身份验证策略?
仅设置身份验证策略将导致:
pyramid.exceptions.ConfigurationExecutionError: <class 'pyramid.exceptions.ConfigurationError'>:
Cannot configure an authentication policy without also configuring
an authorization policy (use the set_authorization_policy method)