PHPackages                             revolution/socialite-amazon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. revolution/socialite-amazon

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

revolution/socialite-amazon
===========================

Socialite for Login with Amazon

1.2.2(1y ago)13170.7k↓42.4%51MITPHPPHP ^8.0CI passing

Since Sep 13Pushed 1w ago1 watchersCompare

[ Source](https://github.com/invokable/socialite-amazon)[ Packagist](https://packagist.org/packages/revolution/socialite-amazon)[ GitHub Sponsors](https://github.com/invokable)[ RSS](/packages/revolution-socialite-amazon/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependencies (2)Versions (16)Used By (1)

Socialite for Login with Amazon
===============================

[](#socialite-for-login-with-amazon)

Overview
--------

[](#overview)

This package provides a Laravel Socialite provider for **Login with Amazon**, allowing you to easily add Amazon OAuth authentication to your Laravel applications. It extends Laravel Socialite with support for Amazon's OAuth 2.0 service, enabling users to log in using their Amazon accounts.

**Key Features:**

- Seamless integration with Laravel Socialite
- Support for Amazon OAuth 2.0 authentication flow
- Customizable OAuth scopes (profile, postal\_code, etc.)
- Retrieves user profile information from Amazon

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0

> No version restrictions. It may stop working in future versions.

Installation
------------

[](#installation)

```
composer require revolution/socialite-amazon

```

### config/services.php

[](#configservicesphp)

```
    'amazon' => [
        'client_id'     => env('AMAZON_LOGIN_ID'),
        'client_secret' => env('AMAZON_LOGIN_SECRET'),
        'redirect'      => env('AMAZON_LOGIN_REDIRECT'),
    ],
```

### .env

[](#env)

To obtain the required credentials, visit the Amazon Developer Console and create a Login with Amazon application:

```
AMAZON_LOGIN_ID=
AMAZON_LOGIN_SECRET=
AMAZON_LOGIN_REDIRECT=

```

Usage
-----

[](#usage)

routes/web.php

```
Route::get('/', [AmazonController::class, 'index']);
Route::get('callback', [AmazonController::class, 'callback']);
```

AmazonController

```
namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Laravel\Socialite\Facades\Socialite;

class AmazonController extends Controller
{
    public function index()
    {
        return Socialite::driver('amazon')->redirect();
    }

    public function callback()
    {
        $user = Socialite::driver('amazon')->user();
        dd($user);
    }
}
```

LICENCE
-------

[](#licence)

MIT

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance70

Regular maintenance activity

Popularity42

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~198 days

Recently: every ~431 days

Total

14

Last Release

640d ago

PHP version history (5 changes)1.0.0PHP &gt;=5.6.4

1.0.3PHP &gt;=7.0.0

1.1.0PHP ^7.2

1.1.3PHP ^7.2||^8.0

1.2.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/77618633?v=4)[Revolution](/maintainers/revolution)[@Revolution](https://github.com/Revolution)

---

Top Contributors

[![kawax](https://avatars.githubusercontent.com/u/1502086?v=4)](https://github.com/kawax "kawax (45 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (5 commits)")[![devin-ai-integration[bot]](https://avatars.githubusercontent.com/in/811515?v=4)](https://github.com/devin-ai-integration[bot] "devin-ai-integration[bot] (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![wertmenschen](https://avatars.githubusercontent.com/u/30001699?v=4)](https://github.com/wertmenschen "wertmenschen (2 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

amazon-loginsocialitelaravelamazonsocialite

### Embed Badge

![Health badge](/badges/revolution-socialite-amazon/health.svg)

```
[![Health](https://phpackages.com/badges/revolution-socialite-amazon/health.svg)](https://phpackages.com/packages/revolution-socialite-amazon)
```

###  Alternatives

[socialiteproviders/manager

Easily add new or override built-in providers in Laravel Socialite.

42747.6M584](/packages/socialiteproviders-manager)[andrewdwallo/filament-companies

A comprehensive Laravel authentication and authorization system designed for Filament, focusing on multi-tenant company management.

35156.4k2](/packages/andrewdwallo-filament-companies)[chrisreedio/socialment

Provides Socialite functionality for Filament.

111103.2k2](/packages/chrisreedio-socialment)[revolution/socialite-mastodon

Socialite for Mastodon

13244.7k1](/packages/revolution-socialite-mastodon)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1518.6k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
