简体   繁体   English

从 Alexa 验证 API

[英]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.

相关问题 通过子域中的API通过Wordpress Cookie进行身份验证 - Authenticate with Wordpress cookie through API from a subdomain 从Spring Security中的另一个REST API身份验证到REST API - Authenticate to an REST api from another REST api in Spring Security 如何将用户从MVC应用程序持久化和身份验证到Web API - How to persist and authenticate users from an MVC application to a Web API 如何从Web应用程序向API验证用户身份? - how can I authenticate a user from a web app to an API? 如何验证来自MVC客户端的web api调用 - How to authenticate web api calls from MVC client 从SPA MVC应用验证Web API的正确方法? - Proper way to authenticate to Web API from SPA MVC app? 从 laravel 8 api 中的两个以上表对用户进行身份验证 - Authenticate users from more than two tables in laravel 8 api 在前端从 ajax 调用 api 路由时验证会话 - Authenticate session when calling api routes from ajax in frontend 使用google + API对来自特定域的用户进行身份验证 - authenticate users from specific domain using google+ api Azure AD 使用用户名/密码从 API 进行身份验证 - 没有 UI,有示例吗? - Azure AD Authenticate from API with username/pw - no UI, is there an example?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM