ESP32 结合 Alexa 智能家具套件开发过程

ESP32 结合 Alexa 智能家具套件开发过程

TONYLABS 10 Mar, 2019

Login with Amazon (LWA) 服务

使用 LWA 服务,实现OAuth 用户登录。

  1. 打开 并登录你的 Amazon 账户
  2. 点击 “Apps & Services”, 然后 “Login with Amazon”
  3. 点击 “Create a New Security Profile” 创建安全档案
  4. Fill in all three required fields to create your security profile and click “Save”.
  5. Before you complete this step, be sure to click on the link named “Show Client ID and Client Secret” and save these values to a secure location so they're easily available later. You’ll need these values later in a future step.



创建 Lambda 功能



Now that you have all the components, let's put everything together. These steps assume you're using LWA for account linking:

  1. Go back to and sign in as needed
  2. Go to Alexa > Alexa Skills Kit > the test skill you created earlier
  3. In the Configuration tab:
    • Lambda ARN default = enter your Lambda ARN noted from the previous step
    • Authorization URI =
    • Client ID = your client ID from LWA noted in a previous step
    • Scope: profile (click Add Scope first to add)
    • Access Token URI:
    • Client Secret: your client secret from LWA noted in a previous step
    • Client Authentication Scheme: HTTP Basic (Recommended)
    • Click Save
  4. Provide Redirect URL's to LWA:
    • The Configuration page for your Skill lists several Redirect URL's. Open the LWA security profile you created earlier and visit the Web Settings dialog. Provide each of the Redirect URL values from your Skill in the Allowed Return URL's field.


Like what you're reading? Subscribe to our top stories.

We will continue to update Front; if you have any questions or suggestions, please contact us!

Follow us on Medium, Twitter, Facebook, YouTube, and Dribbble.

Image Description
Written by

Hanna Wolfe

I create advanced website builders made exclusively for web developers.


  • Image Description
    Dave Austin 1 day ago

    As a Special Education teacher this resonates so well with me. Fighting with gen ed teachers to flatten for the students with learning disabilities. It also confirms some things for me in my writing.

    • Image Description
      Hanna Wolfe 1 day ago

      Love it Dave! We're all about keeping it up.

  • Image Description
    Christina Kray 2 days ago

    Since our attention spans seem to be shrinking by the day — keeping it simple is more important than ever.


Post a comment

Stay in the know

Get special offers on the latest developments from Front.