Web Page Device Registration Utilizing Login with Amazon (LWA)
The purpose of this webpage is to facilitate the linking of a device to a user's
Amazon account in order that the device can be controlled by Alexa.
The required AWS API Gateway Lambda function to DynamoDB Device and Customer tables
have already been developed.
Create a Login With Amazon (LWA) web page.
The page will consist of a title two input fields and a (LWA) Button.
Title Link Your Device to Alexa
Button Login With Amazon (LWA Button)
The client-side and server-side must be secure.
All provider Keys must remain on the server side and not be visible.
All user Keys must be encrypted.
The (LWA Button) sends the user to ther the Amazon login screen.
If unsuccessful display error message and send back to web page.
Once the user successfully logged into the Amazon account
server-side methods will do the following:
Make a https call to a pre-existing AWS API Gateway Lambda function to Device Table
using the data supplied by the user in the DeviceID and DeviceCode Fields
If the DeviceID or DeviceCode is not found display error message and send back to web page.
If the device ID and device code match return true.
Make a https call to a pre-existing AWS API to update the Device Table record
with the Amazon [login to view URL]
The Profile data retrieved from [login to view URL] will be saved
via AWS API Gateway Lambda function to DynamoDB Customer Table.
If successful display a message informing them of the success and thanking them for their business.
Device Registration Utilizing [login to view URL] - Flowchart
Device Registration Utilizing Web [login to view URL] - Page Layout
21 pekerja bebas membida secara purata $522 untuk pekerjaan ini
Hello, I have experience in creating websites, applications, online stores and testing them. Ready to start work on your assignment. Let's discuss the Terms of Reference. Sincerely, Yaroslav