Alexa-skills-kit-sdk-for-nodejs: Provide code sample for verifcations (certificate url, signature url etc)

Created on 23 Jul 2018  路  10Comments  路  Source: alexa/alexa-skills-kit-sdk-for-nodejs

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[X] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Expected Behavior

Alexa Node JS SDK should provide boiler plate code for checking Amazon Alexa calls.

Current Behavior





Only skillbuilder examples are provided

Possible Solution

// Not required, but suggest a fix/reason for the bug,
// or ideas how to implement the addition or change

Provide boiler plate / copy paste code

Steps to Reproduce (for bugs)

// Provide a self-contained, concise snippet of code
// For more complex issues provide a repo with the smallest sample that reproduces the bug
// Including business logic or unrelated code makes diagnosis more difficult

Try to submit app

image

Context



Have to code that every other app dev will have to code

Your Environment

  • ASK SDK for Node.js used: x.x.x
  • Operating System and version:
    centos 7

Node.js and NPM Info

  • Node.js version used for development:
  • NPM version used for development:
2.x.x feature request webservice support

All 10 comments

Hi @giorgio79 ,

Thanks for the information. We are working on SDK support for web based skill. Stay tuned!

Regards

Hi @giorgio79 ,

Thanks for asking it, I would really appreciate this feature too.
Meanwhile I've tried alexa-verifier, but on Windows seems to not work. Have you tried only on Linux?
What happens on Windows is that it always returns 'invalid signature' error..

Regards

That makes three. I would like this feature as well. I am getting a CERTIFICATION rejection in the Alexa Functional Test section. Help on the NodeJS side would be greatly appreciated.

Please provide a code snippet to add to my NodeJS Express code to properly reject the NON-ALEXA request only documentation is for Java ASK SDK missing for nodejs.

PS just found some attempts to provide one https://github.com/alexa-js/alexa-verifier-middleware
and another one https://github.com/mreinstein/alexa-verifier

I tried both and i am still getting rejection on Alexa Dev Console.

Hello, was anybody able to find an interim solution that works ? Thanks so much

New package ask-sdk-express-adapter is available on NPM now, which make it easy to host skill as webservice. Therefore, close the issue and please feel free to reopen if you have any problems.

@ShenChen-Amazon There's not a single example in the documentation in github or in NPM to how to properly use this. I would much appreciate one to successfully verify my web service with amazon through a middleware...

Hi @JonathanDn

There's doc link under Usage and Getting Started tab, and will direct to Alexa developer portal. Sorry the link seems not obvious enough :( Please feel free to follow up if you have other concerns.

Thanks,
Shen

After a few hours of searching, reading, and triyng various things according to the API documentation I was able to find this video of this kind fellow who helped me get up and running and close a cycle with a test skill that will be triggered + send a hello world response.
https://www.youtube.com/watch?v=wH6mkxuf9tE

Thanks though.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

giorgio79 picture giorgio79  路  4Comments

developer170883 picture developer170883  路  4Comments

dkl3in picture dkl3in  路  3Comments

ghost picture ghost  路  6Comments

lucidokr picture lucidokr  路  5Comments