You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the documentation, we are able to define a built-in authorizer using the decorator function authorizer as in this example: @app.authorizer(ttl_seconds=600, header="CustomHeader")
However, when running locally via the chalice local command, the 'header' parameter is ignored and the app will only accept the "authorization" header. The local app should instead use the value "CustomHeader".
As per the documentation, we are able to define a built-in authorizer using the decorator function
authorizer
as in this example:@app.authorizer(ttl_seconds=600, header="CustomHeader")
However, when running locally via the
chalice local
command, the 'header' parameter is ignored and the app will only accept the "authorization" header. The local app should instead use the value "CustomHeader".Steps to reproduce:
chalice local
.It appears that deployed apps do not have this issue, only when running locally.
The text was updated successfully, but these errors were encountered: