# Alexa demo integration

**URL:** <https://community.auth0.com/t/alexa-demo-integration/22533>\
**Category:** Get Help\
**Tags:** alexa\
**Created:** [March 12, 2019, 7:01pm UTC](https://community.auth0.com/t/alexa-demo-integration/22533 "2019-03-12T19:01:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lhamre](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lhamre/32/11740_2.png) [@lhamre](https://community.auth0.com/u/lhamre)\
**Post date:** [March 12, 2019, 7:01pm UTC](https://community.auth0.com/t/alexa-demo-integration/22533/1 "2019-03-12T19:01:21Z")

</div>

I am following the [Interaction-Based Authentication for Alexa Skills with Auth0](https://auth0.com/blog/interaction-based-auth-for-alexa-with-auth0/)  
example. The issue I am seeing is that it seems like the POD application is trying to authenticate against a different database

| Type | Failed Login (invalid email/username) |
| --- | --- |
| Description | Wrong email or password. |
| Connection | Username-Password-Authentication |
| Application | PODCDXY1z7R8nw7xcTDGWXd416zYw4WMoyg |

Since the UI has changed, there is no way to force/check to see if the POD application uses the POD-DB connection as you can only configure API’s for machine to machine applications in the admin portal. The |Connection|Username-Password-Authentication| was the default one that was setup when I created the AUTH0 account.

It

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [March 13, 2019, 12:10pm UTC](https://community.auth0.com/t/alexa-demo-integration/22533/3 "2019-03-13T12:10:43Z")

</div>

I believe that this particular issue could be addressed, but you should have in mind that significant time has passed since that blog post was written and if I recall correctly it depends on a few things that may not be available for newer tenants. In particular, the `/oauth/ro` endpoint is deprecated and not available for newer tenants.

Having said that, for the particular issue you should ensure that the application does **not** have the `Username-Password-Authentication` connection enabled and instead only has the POD-DB database connection (in addition to the passwordless one).

Another point is that it is **not correct to say that only machine to machine applications can configure API’s for client credentials**. In particular, a regular web application which is considered an OAuth confidential client application can also be configured to call an API with client credentials.

---

<div class="post-metadata">

**Author:** ![lhamre](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lhamre/32/11740_2.png) [@lhamre](https://community.auth0.com/u/lhamre)\
**Post date:** [March 13, 2019, 2:10pm UTC](https://community.auth0.com/t/alexa-demo-integration/22533/4 "2019-03-13T14:10:43Z")

</div>

Thanks for the reply. My comment about only Machine 2 machine was in regards to the settings options in the UI, you cannot define Connections when you admin a Machine2Machine application from what I can see.

I will try to see if that works but is there a newer example or docs of how to do the auth with Alexa or just have to keep trying testing it out? I am assuming its possible doing the Alexa auth via Auth0 right.

thx,  
Lasse

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [March 14, 2019, 4:29pm UTC](https://community.auth0.com/t/alexa-demo-integration/22533/5 "2019-03-14T16:29:01Z")

</div>

I’m unaware of any recent sample for it; I originally authored that blog post and from that point of view I can confirm there’s no revised/updated version of that specific sample, but unsure if someone else did something with Alexa.

From a feasibility perspective, the exact approach used to integrate with Alexa on that blog post will now **not be possible** for some tenants because newer tenants lack the `/oauth/ro` endpoint and there’s no equivalent replacement available at this time. In other words, I would start by checking if `/oauth/ro` is available to your tenant, if not, it may not be worthwhile to follow that specific blog post.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 30, 2019, 11:33am UTC](https://community.auth0.com/t/alexa-demo-integration/22533/6 "2019-08-30T11:33:22Z")

</div>


