Skip to content
/ alexa Public

Golang types, interfaces and utilities for interacting with the Amazon Alexa Service

License

Notifications You must be signed in to change notification settings

tyndyll/alexa

Repository files navigation

alexa

Types, interfaces and utilities for interacting with the Amazon Alexa Service

Verification of Alexa Requests

Alexa places a number of demands on a hosted skill which largely revolve around providing encryption and verification of the request. This requirement is the primary motivation for this package.

Development

While developing locally in a development environment this is less than ideal. An acceptable method of by-stepping this requirement is to make use of ngrok.

  • Start your Go program, taking note of the port that it is listening on
  • Start ngrok with the command `ngrok http

Take note of the HTTP address and update the Alexa developer console for the skill under test in the Configuration section, setting the certificate in the SSL Certificate section to "My development endpoint is a sub-domain of a domain that has a wildcard certificate from a certificate authority"

ngrok by @inconshreveable                                                                     (Ctrl+C to quit)

Session Status                online
Version                       2.2.4
Region                        United States (us)
Web Interface                 http://127.0.0.1:4040
Forwarding                    http://e22449b2.ngrok.io -> localhost:9000
Forwarding                    https://e22449b2.ngrok.io -> localhost:9000 <<<<< This Entry

Connections                   ttl     opn     rt1     rt5     p50     p90

About

Golang types, interfaces and utilities for interacting with the Amazon Alexa Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages