profile
viewpoint

Ask questionsError deploying with blueprint authorizer

Hello,

We are specifying an authorizer on a blueprint and on deploy we receive the following error:

chalice/deploy/swagger.py", line 86, in _generate_security_from_auth_obj 'name': auth_config.header, AttributeError: 'NoneType' object has no attribute 'header'

Still investigating the issue so will provide more info or a PR later. Just wanted to fill the issue in case I forget.

Thanks.

aws/chalice

Answer questions fernandoflorez

Found the issue. Seems you can use an authorizer declared on a different blueprint.

How would it be possible to create a global authorizer that can be used in all blueprints?

useful!
source:https://uonfu.com/
Github User Rank List