How to create an Amazon App Project
To configure Login with Amazon in your store, open Configuration, enable Amazon, and fill in all required fields.
Follow this step-by-step guide:
-
Sign in to Amazon Developer Console using your regular Amazon account (or create one if needed).
-
After logging in, go to the Developer Console, Choose Login with Amazon and click Create a New Security Profile. A security profile is your OAuth App for Amazon login.
-
Create a security profile, for this fill in the required fields:
- Security Profile Name (e.g.,
Amazon Social Login). - Security Profile Description (e.g., 'Used for customer authentication on our website").
- Website URL: your main store URL
- Privacy Notice URL: your privacy policy page
Click Save.
- Security Profile Name (e.g.,
-
Add your website domain inside the newly created Security Profile. Open Web Settings (tab inside the profile), click Edit button and Fill in:
- Allowed Origins (JavaScript):
https://your-store-domain.com - Allowed Return URLs (Redirect URLs): Copy the Redirect URI from Social Login extension configuration.
Click Save.
- Allowed Origins (JavaScript):
-
Retrieve Amazon API credentials. Go to your Security Profile -> Web Settings and copy the following: Client ID, Client Secret. Paste these values into the Amazon settings in your Social Login extension.
-
Enable OAuth scopes. By default, Login with Amazon supports:
profile: required to get user name / profile IDprofile:user_id: optionalprofile:email: required for account creation
Make sure Email Scope is enabled in your Amazon Login configuration in Magento.
Your Amazon Login integration is now complete and ready for use.