Patrik
Patrik
Sep 5, 2018 · 1 min read

Hey Will, thanks for the write up.

Although I did not experience the same issue that you have, your article helped me solving mine:

I have discovered a weird behavior on my own custom authorizer that responded the { message: null }error whenever I was using callback(null, generatedPolicy) . Your article led me to try out context.succed(generatedPolicy)instead and it worked without any further changes.

Haven’t seen this method in the docs before, but let’s be frank, AWS documentation isn’t always very helpful.

Just wanted to let you know, that you helped a fellow dev :D

    Patrik

    Written by

    Patrik