mirror of
https://github.com/floci-io/floci.git
synced 2026-12-02 17:58:05 -05:00
CloudFormationResourceProvisioner had no case for AWS::ApiGateway::Authorizer so the resource fell through to the default stub and never reached ApiGatewayService. Stacks reported CREATE_COMPLETE while `get-authorizers` returned an empty list. provisionApiGatewayMethod additionally ignored AuthorizerId on the template, so CUSTOM/COGNITO_USER_POOLS methods were registered with a null authorizerId. The combined effect was a CloudFormation-managed TOKEN authorizer flow that silently behaved as `AuthorizationType: NONE`. This change adds a dedicated provisionApiGatewayAuthorizer that maps the CFN PascalCase properties (Name, Type, AuthorizerUri, IdentitySource, AuthorizerResultTtlInSeconds) onto the existing ApiGatewayService.createAuthorizer request shape, and threads AuthorizerId through provisionApiGatewayMethod so `!Ref MyAuthorizer` resolves correctly. Closes #788