I’m creating a skill for technical help its a question answer type of skill which uses dynamodb for storing the answers and want to authenticate my skill using amazon login provided by AWS cognito but finding difficulty to do that.
i have created a demo skill hello world greeter which if invoked returns hello world the code is given below. i want to authenticate this skill using cognito but confused where to add and how to add the token handler code which is following and also having difficulty to show login card in alexa skill.
for cognito i have referred this site
//hello world greeter code exports.handler = (event, context, callback) => break; } }
//handler function code if (handlerInput.requestEnvelope.context.System.user.accessToken === undefined)
Published at Sun, 14 Apr 2019 18:40:03 +0000