-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support custom authorizers #22
Comments
+1 |
The referenced lambda function has to be completed with the alias stage variable - |
Authorizers do not support APIG stage variables. The authorizer is renamed to include the deployed alias and points to the correct aliased function version. |
@vkkis93 Could you try if it works for you? Then I will prepare the 1.2.0 release tomorrow. |
@HyperBrain Why previous serverless@0.5 for example has correct authorizer function |
Ok. I will check how exactly the 0.5 version created the authorizer - I'll try to use the same parameters then and see if it works. |
Can we do like this ? |
Can you try this locally and check if the deployment works with the API console and a deployed API? |
Custom authorizers should also be supported by the plugin, i.e. if a service defines custom authorizers, they have to be assigned to the correct stage and either the referenced alias lambda has to be set as target or, in case a full qualified arn has been given, this has to be set.
#21 Is caused by the missing feature.
The text was updated successfully, but these errors were encountered: