Unleash the Full Potential of Your PrestaShop Store

Welcome to MyPresta.eu – Your reliable partner in the e-commerce world. Find innovative modules that will take your business to a new level.

Create Amazon Client ID

25.01.2019

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!.

Zdjęcie autora: Milosz Myszczuk

Artykuł napisany przez Milosza Myszczuka, eksperta PrestaShop i oficjalnego moderatora społeczności PrestaShop. CEO i założyciel agencji interaktywnej VEKIA. Dowiedz się więcej.

If you like this article, support our work!

Comments