參閱
http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-authorizer.html
重點1
identity token source最後的”Auth”,是發request要做認證的header名稱可自由更換
重點2
apigateway頁面中,Update Custom Authorizer > Execution role,這個角色要增加Trust Relationship的設定
IAM > Roles > Trust relationships > Edit Trust Relationship
1 | { |