Is there any another easy way to authenticate alexa skill rather than using userpool in cognito

alexanderskills

Is there any another easy way to authenticate alexa skill rather than using userpool in cognito

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
https://medium.com/@ankit81008/alexa-accountlinking-cognito-74a29243b1ca

//hello world greeter code
exports.handler = (event, context, callback) => 
      break;
  }
}
//handler function code
if (handlerInput.requestEnvelope.context.System.user.accessToken === undefined) 

asked 55 mins ago

Published at Sun, 14 Apr 2019 18:40:03 +0000