Skip to content

amzn/login-with-amazon-oscommerce

Getting Started

Steps

  1. Register Your Application
  2. Install Plugin
  3. Configure Plugin

Register Your Application

First, you will need to register your website as an Application on the App Console.

Register Your Login with Amazon Application

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

    Screenshot 1

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

    • 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.
    • Description. A description of your application for Login with Amazon users.
    • 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 first login to your application (for example, http://www.example.com/privacy.html).
    • 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.
  3. When you are finished, click Save to save your changes. Your sample registration should look similar to this:

    Screenshot 2

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. To view the client secret, click Show Secret. You should take note of your Client ID as you'll need it again later on.

    Screenshot 3

  2. To add Allowed JavaScript Origins or Allowed Return URLs to your application, click Edit.

    Screenshot 4

  3. Click Save

Install Plugin

If you have a custom process, these instructions may need to be modified slightly to fit your deployment process.

  1. Create a backup.
  2. Download the plugin.
  3. Extract the zip file.
  4. Copy the contents of the zip file to the root of your osCommerce install (via FTP or however you typically upload files to your site).
  5. Test as desired.
  6. Upload the changes to your live site.

Configure Plugin

  1. Log in to your osCommerce control panel.

  2. On the left hand navigation select Header Tags from the Modules sub-menu.

    Screenshot 5

  3. Click the Install Module button. Screenshot 6

  4. Select Login With Amazon in the list of modules then click Install Module. Screenshot 7

  5. Select Edit on the right of the page. Screenshot 8

  6. Choose Enable, enter your Amazon Client ID and click Save.

  7. Verify that the Login With Amazon button is showing on the login and register pages.

About

A pre-integrated plugin that can be installed into an osCommerce powered website to integrate with Login with Amazon.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages