Skip to content
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

Expose skill ID for event source validation with skills #574

Merged
merged 1 commit into from
Sep 11, 2018

Conversation

breedloj
Copy link
Contributor

Issue #, if available:
N/A

Description of changes:
Allows users to optionally specify their skill ID when configuring an AlexaSkillEvent on a function. This will validate that the Lambda is called by the expected skill and is strongly recommended by Alexa.

I am open to changing the name to match the underlying CF property (EventSourceToken), but given this property must be the skill ID in this application I think this is a more sensible abstraction.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@brettstack brettstack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@brettstack brettstack changed the base branch from master to develop September 11, 2018 00:08
@keetonian
Copy link
Contributor

Thank you for contributing! It looks like the Travis build is failing due to outdated dependencies that we fixed on develop (#570) but haven't yet merged to master. Could you rebase onto develop and resubmit a PR? Otherwise, this looks great!

@breedloj
Copy link
Contributor Author

Done!

Copy link
Contributor

@keetonian keetonian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@brettstack brettstack merged commit 24003bf into aws:develop Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants