Amazon Alexa: request signature verification
Finally, a complete
Python implementation for signature verification of Amazon Alexa service requests. It has been a though nut to crack, but once everything came together, reading the code is actually pretty self-explanatory.
I would like to thank dizmo.com for providing the financial support for this project, and generously allowing it to be open sourced: We hope that it will serve all the other companies and people out there, integrating their services with Amazon Alexa.
The implementation is realized as a hook for the Falcon framework, which essentially is simply a function. Hence integrating it with other
Python based frameworks should be pretty straight forward. Further, a local
redis instance has been used for demonstration purposes, but in general any caching mechanism should do.