opauth / amazon
Amazon strategy for Opauth
0.4
2014-07-03 13:58 UTC
Requires
- php: >=5.2.0
- opauth/opauth: >=0.2.0
This package is not auto-updated.
Last update: 2024-11-05 07:54:24 UTC
README
Opauth strategy for Amazon authentication.
Implemented based on https://login.amazon.com/documentation
Opauth is a multi-provider authentication framework for PHP.
Getting started
-
Install Opauth-Amazon:
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
- Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually
https://path_to_opauth/auth/amazon/oauth2callback
- Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually
-
Configure Opauth-Amazon strategy.
-
Direct user to
http://path_to_opauth/auth/amazon
to authenticate
Strategy configuration
Required parameters:
<?php 'Amazon' => array( 'client_id' => 'YOUR CLIENT ID', 'client_secret' => 'YOUR CLIENT SECRET' ) ?>
Optional parameters:
scope
, redirect_uri
References
License
Opauth-Amazon is MIT Licensed Copyright © 2014 Illimar Tambek (http://github.com/ragulka)