
Under Alexa Voice Service, click Get Started >, and then click Edit next to your registered product or choose to create a new product. With your Amazon developer credentials, log in to the developer console. To locate your client ID and client secret #AVS WEBSITE CODE#
The following example shows a sample authorization code grant request: For more details, see Cross-site Request Forgery. The authorization service includes this value when redirecting the user back to the client.
state: An opaque value used by your device to maintain state between the request and the response and prevents cross-site request forgery. redirect_uri: Specifies one of the return URIs that you added to your app security profile in the developer portal. Supported value: code (Authorization Code Grant). response_type: Specifies the response type that you expect back from LWA. For more details about exchanging tokens, see Exchange the refresh token for a new access token. If the token exchange fails, your device should retry the exchange with an exponential back-off. Your web service exchanges the refresh token, client ID, and client secret for a new access token every hour or when the existing token is about to expire. LWA sends access and refresh tokens to your web service. Your web service sends an Authorization Code, client ID, and client secret to LWA. For more details about receiving the response from LWA, see Receive the LWA response with the authorization code. LWA prompts the user to enter their Amazon credentials and to grant access for the device to communicate with AVS on their behalf. For details about constructing the redirect URL, see Create a Login with Amazon Consent Request. The user navigates to your website and clicks a Login button, which redirects them to the LWA site. Register the following information with the web service on your companion website requests the following values from your AVS-enabled device:. The following process describes to obtain an access token through a web service on a companion website: Click to enlarge Obtain an access token through a web service on a companion website Note: To authorize a device to use AVS with a web service instead of a companion app, see Authorize an AVS Device Through a Companion App.
AVS with Alexa for Business Requirements.About the Alexa Mobile Accessory (AMA) Kit.Runtime Configuration for CA Certificates.Music Validation Certification Requirements and Troubleshooting.Understanding the Music Validation Tool.Authorized Third-Party Testing and Security Labs.AVS Certified for Humans Program Requirements.UX Design for Speakers, Soundbars, and AVRs.Create and Manage HTTP/2 Requests with AVS.Authorize an AVS Device Through Code-Based Linking (CBL).Authorize an AVS Device Through a Web Service.
Authorize an AVS Device Through a Companion App. Generic Controllers - Mode, Range, and Toggle Controllers.
Alexa Presentation Language (APL) and Multimodal interactions.Set Up the AVS Device SDK on Raspberry Pi.Learn to add Alexa to a Speaker, Sound bar, or AVR.