<a id="amazon"></a>

# Amazon

<a id="backend-class"></a>

## Backend class

For Django, add this class path to `AUTHENTICATION_BACKENDS`. For other
integrations, use the same class path in the framework-specific backend
setting.

| Backend name   | Class path                                 |
|----------------|--------------------------------------------|
| `amazon`       | `social_core.backends.amazon.AmazonOAuth2` |

Amazon implemented OAuth2 protocol for their authentication mechanism. To
enable `python-social-auth` support follow this steps:

1. Go to [Amazon App Console](http://login.amazon.com/manageApps) and create an application.
2. Fill App Id and Secret in your project settings:
   ```default
   SOCIAL_AUTH_AMAZON_KEY = '...'
   SOCIAL_AUTH_AMAZON_SECRET = '...'
   ```
3. Enable the backend:
   ```default
   SOCIAL_AUTH_AUTHENTICATION_BACKENDS = (
       ...
       'social_core.backends.amazon.AmazonOAuth2',
       ...
   )
   ```

Further documentation at [Website Developer Guide](https://images-na.ssl-images-amazon.com/images/G/01/lwa/dev/docs/website-developer-guide._TTH_.pdf) and [Getting Started for Web](http://login.amazon.com/website).

**Note:** This backend supports TLSv1 protocol since SSL will be deprecated
: from May 25, 2015
