Create Amazon Client ID

2019-01-25 amazon, customer, login, register

In this guide Ie will show you how to create Amazon Client ID for "Login with Amazon" module dedicated for PrestaShop. After completing this guide you should have a working Login with Amazon button on your website to allow users to log in with their Amazon credentials.

 

Register Your Login with Amazon Application

  1. First, you will need to register your website as an application on the  App Console . In the  App Console  register a new application by clicking the Register new Application button. The Register Your Application form will appear.
    Note: You will be redirected to Seller Central, which handles application registration for Login with Amazon. If this is your first time using Seller Central, you will be asked to setup a Seller Central account. amazon application for login with amazon module
  2. In the application details page, add basic details about your product. These details will be used on your website and mobile apps (if applicable).
    1. Name Shown to Users
      This is the name displayed on the consent screen when the users agree to share the information with your application. This name applies to Android, iOS, and website versions of your application.
    2. Description
      The description helps you differentiate each of your Login with Amazon applications and is not displayed to users.
    3. Privacy Notice URL
      The Privacy URL is the location of your company or application's privacy policy. It is also displayed on the consent screen. This link is displayed to users when they login to your application (for example,  https://www.example.com/privacy.html ).
    4. Logo Image File
      This logo is displayed on the sign-in and consent screen when users log into your website or mobile app. The logo will be automatically resized to 50 x150 pixels. The following formats are accepted: PNG, JPEG, GIF. When you are finished, click  Save  to save your changes. Your sample registration should look similar to this:

    filled form amazon client id

Add a Website to your Application

  1. From the Application screen, click  Web Settings . You will automatically be assigned values for  Client ID  and Client Secret. The client ID identifies your website, and the client secret is used in some circumstances to verify your website is authentic. The client secret, like a password, is confidential. In context of amazon login module the only one important credential is Client ID .
    web settings amazon client id
  2. To add Allowed JavaScript Origins or Allowed Return URLs to your application, click Edit . To use Login with Amazon with a website, you must specify either Allowed JavaScript Origins or Allowed Return URLs. Specify Allowed JavaScript Origins to provide a popup authentication experience to your users, or Allowed Return URLs to provide a redirect authentication experience.  How to fill out these fields? You can find urls on amazon login configuration page [see screenshot]. Please note that each shop has own unique url, you need to copy-paste the value from your website.

    web settings amazon client id
  3. Click Save

 

Configure the module

So, you already have an Amazon Application. Now it is time to configure the the module. Copy Client ID generated by Amazon for your app. Then open 'amazon login' configuration page, there is a section to configure Amazon Client ID. Just paste there your Client ID and save changes. That's all - your Amazon Login module is ready to support Amazon Api!.

author milos myszczuk
Article by Milosz Myszczuk PrestaShop expert, official PrestaShop community moderator. PHP developer, specialist in relative and spatial databases management, GIS Analyst, CEO & founder of VEKIA interactive agency. Read more about VEKIA company
If you like my articles and want much more valuable tips, feel free to send me donation
1.4 version 1.4.11 1.6 404 addon admin advertise ahref ajax alpha animation api app application authentication back office backup badge banner basics block bootstrap button cache carrier cart catalog category certificate changelog chat class clear client clip cms code colors columns comments configuration contact container content controller cookie counter country coupon css csv currency customer dashboard database debug default delete delivery desktop developer device disable discount displayNav displayTop download dynamic editor effect empty encrypt engine error exchange exclude export facebook faceshop fade fancoupon fancybox fanpage fatal feature feed field file fix fixed font footer free friendly url front ftp full gallery generate gift global godaddy google google+ gray grid groupon header help hide highlight homefeatured homepage hook hosting hover howto htaccess html html5 ID image import include input instagram installation integration iPhone issue javascript jquery kgb knowhow languages law left likebox link list livingsocial loading log login logo loyality mail mailing maintenance manufacturer marketing marquee mcrypt menu meta mobile modification module movie moving multilanguage multiupload must have mysql news newsletter notification number open graph order override page password performance PHP phpmyadmin picture pinterest plugin popup post prestashop prestashop 1.0 prestashop 1.1 prestashop 1.2 prestashop 1.3 prestashop 1.4 prestashop 1.5 price rules problem product profile promotion proslider purifier quantity query quick tip random rates register reinsurance release reporting reset responsive restore results ribbon rich text right sales search security seo service shadow share shipping shop shopmania slider smarty social networks SQL SSL statistics stock store style subcategory superuser support switcher tab tablet tag tax template text theme tinyMCE tips and tricks tpl tracking translations tree trends trigger tumblr tutorial twitter update upgrade upload variables video visits voucher vulnerability web2print wide widget width window wishlist wysiwyg youtube zip zopim