[英]Authenticate to API from Alexa
How would I go about authenticating a user on a smart speaker (Alexa) to my API?我将如何 go 对我的 API 上的智能扬声器 (Alexa) 上的用户进行身份验证?
I am thinking of developing a new Alexa "Skill" for my company that would say allow a client in my application to ask their Alexa "Who is my account manager?".我正在考虑为我的公司开发一种新的 Alexa“技能”,它会说允许我的应用程序中的客户询问他们的 Alexa“谁是我的客户经理?”。 I obviously don't want to then ask for their username and password as is spoken out loud so how can I make sure I can retrieve the persons' account in my API that Alexa skill will call?
我显然不想像大声说出来的那样询问他们的用户名和密码,所以我怎样才能确保我可以在我的 API 中检索到 Alexa 技能会调用的人的帐户?
Cheers干杯
You need to do account linking:您需要进行帐户关联:
Account linking enables your skill to connect the skill user's Amazon identity with their identity in a different system.
帐户链接使您的技能能够将技能用户的亚马逊身份与其在不同系统中的身份相关联。
See https://developer.amazon.com/en-US/docs/alexa/account-linking/understand-account-linking.html请参阅https://developer.amazon.com/en-US/docs/alexa/account-linking/understand-account-linking.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.