Opauth-Amazon
[Opauth][1] strategy for Amazon authentication., (*1)
Implemented based on https://login.amazon.com/documentation, (*2)
Opauth is a multi-provider authentication framework for PHP., (*3)
Getting started
-
Install Opauth-Amazon:, (*4)
cd path_to_opauth/Strategy
git clone git://github.com/ragulka/opauth-amazon.git Amazon
-
Create a Amazon application at App Console https://login.amazon.com/manageApps, (*5)
- Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually
https://path_to_opauth/auth/amazon/oauth2callback
-
Configure Opauth-Amazon strategy., (*6)
-
Direct user to http://path_to_opauth/auth/amazon to authenticate, (*7)
Strategy configuration
Required parameters:, (*8)
<?php
'Amazon' => array(
'client_id' => 'YOUR CLIENT ID',
'client_secret' => 'YOUR CLIENT SECRET'
) ?>
Optional parameters:
scope, redirect_uri, (*9)
References
License
Opauth-Amazon is MIT Licensed
Copyright © 2014 Illimar Tambek (http://github.com/ragulka), (*10)