PHPackages                             pixelpoems/silverstripe-opauth - 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. pixelpoems/silverstripe-opauth

ActiveSilverstripe-vendormodule[Authentication &amp; Authorization](/categories/authentication)

pixelpoems/silverstripe-opauth
==============================

SilverStripe Opauth module for social login via OAuth. Community fork maintained by Pixelpoems.

6.x-dev(1mo ago)08BSD-3-ClausePHP

Since Jul 15Pushed 1mo agoCompare

[ Source](https://github.com/pixelpoems/silverstripe-opauth)[ Packagist](https://packagist.org/packages/pixelpoems/silverstripe-opauth)[ Docs](https://github.com/pixelpoems/silverstripe-opauth)[ RSS](/packages/pixelpoems-silverstripe-opauth/feed)WikiDiscussions 6.x Synced 3w ago

READMEChangelog (1)Dependencies (3)Versions (4)Used By (0)

SilverStripe Opauth Module (Community Fork)
===========================================

[](#silverstripe-opauth-module-community-fork)

> **⚠️ Note:** This is a community-maintained fork of the original [BetterBrief/silverstripe-opauth](https://github.com/BetterBrief/silverstripe-opauth), which has been archived. We've updated the module to work with newer SilverStripe versions, but it has not been extensively tested beyond our own use cases. **Use at your own risk.**

Introduction
------------

[](#introduction)

Uses the [Opauth](http://opauth.org) library for easy drop-in strategies for social login (Facebook, Twitter, Google, and more). Based on the identity data from the OAuth provider, the module will find or create a `Member` based on the provided email address.

Status
------

[](#status)

- **Original project:** Archived, no longer maintained
- **This fork:** Updated for newer SilverStripe versions, limited testing
- **Contributions &amp; bug reports:** Welcome! Please open an issue or submit a PR.

How does it work?
-----------------

[](#how-does-it-work)

The module provides an additional login form that allows users to sign in with an identity from any OAuth provider. Each provider is handled via an `OpauthStrategy` — strategies are available for Facebook, Twitter, Google, and [many more](http://opauth.org).

A `Member` can have multiple OAuth identities linked to a single account, saved as `OpauthIdentity` objects. If required data (like an email address) is missing from the provider's response, built-in validation lets you enforce required fields via `OpauthValidator`.

Version Compatibility
---------------------

[](#version-compatibility)

BranchSilverStripe Version`4.x`SilverStripe 4`5.x`SilverStripe 5`6.x`SilverStripe 6Requirements
------------

[](#requirements)

- At least one [Opauth strategy](http://opauth.org)
- `allow_url_fopen` enabled in `php.ini` (recommended), or cURL as a fallback

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

[](#installation)

Install the branch matching your SilverStripe version:

```
composer require pixelpoems/silverstripe-opauth:4.x-dev   # for SilverStripe 4
composer require pixelpoems/silverstripe-opauth:5.x-dev   # for SilverStripe 5
composer require pixelpoems/silverstripe-opauth:6.x-dev   # for SilverStripe 6
```

Quick Start
-----------

[](#quick-start)

Add strategy configuration to your `_config.yml`:

```
---
Name: silverstripe-opauth
After: 'framework/*','cms/*'
---
OpauthAuthenticator:
  opauth_settings:
    Strategy:
      Facebook:
        app_id: 'YOUR_APP_ID'
        app_secret: 'YOUR_APP_SECRET'
        scope: email
      Google:
        client_id: 'YOUR_CLIENT_ID'
        client_secret: 'YOUR_CLIENT_SECRET'
    security_salt: 'your-random-salt-here'
    security_iteration: 500
    security_timeout: '2 minutes'
    callback_transport: 'session'

OpauthIdentity:
  member_mapper:
    Facebook:
      FirstName: 'info.first_name'
      Surname: 'info.last_name'
      Email: 'info.email'
    Google:
      FirstName: 'info.first_name'
      Surname: 'info.last_name'
      Email: 'info.email'
```

For more detailed configuration options (including PHP-based config and custom member mapping), see the [original documentation](https://github.com/BetterBrief/silverstripe-opauth).

What's included?
----------------

[](#whats-included)

- **OpauthAuthenticator** — comparable to `MemberAuthenticator`
- **OpauthLoginForm** — configurable authentication options
- **OpauthRegisterForm** — optional intermediate step for incomplete profiles
- **OpauthController** — handles strategy communication
- **OpauthIdentity** — service-agnostic OAuth identity storage

Contributing
------------

[](#contributing)

Found a bug or want to help improve the module? Issues and pull requests are welcome. Since this fork has limited test coverage, real-world testing and feedback are especially valuable.

License &amp; Attribution
-------------------------

[](#license--attribution)

This fork is based on the original [silverstripe-opauth](https://github.com/BetterBrief/silverstripe-opauth) by Better Brief LLP, licensed under the BSD 3-Clause License. See [LICENSE](LICENSE) for details.

[Opauth](http://opauth.org) by U-Zyn Chua, available under MIT licence.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance89

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~1202 days

Total

4

Last Release

53d ago

Major Versions

1.1.x-dev → 4.x-dev2026-04-28

4.x-dev → 5.x-dev2026-04-28

5.x-dev → 6.x-dev2026-06-01

### Community

Maintainers

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

---

Top Contributors

[![dhensby](https://avatars.githubusercontent.com/u/563596?v=4)](https://github.com/dhensby "dhensby (28 commits)")[![willmorgan](https://avatars.githubusercontent.com/u/168688?v=4)](https://github.com/willmorgan "willmorgan (14 commits)")[![chillu](https://avatars.githubusercontent.com/u/111025?v=4)](https://github.com/chillu "chillu (12 commits)")[![BettinaMaria98](https://avatars.githubusercontent.com/u/50010683?v=4)](https://github.com/BettinaMaria98 "BettinaMaria98 (11 commits)")[![johannesx75](https://avatars.githubusercontent.com/u/3908339?v=4)](https://github.com/johannesx75 "johannesx75 (3 commits)")[![MLindenhofer](https://avatars.githubusercontent.com/u/68067510?v=4)](https://github.com/MLindenhofer "MLindenhofer (1 commits)")

---

Tags

silverstripeoauthloginsocialOPAuth

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pixelpoems-silverstripe-opauth/health.svg)

```
[![Health](https://phpackages.com/badges/pixelpoems-silverstripe-opauth/health.svg)](https://phpackages.com/packages/pixelpoems-silverstripe-opauth)
```

###  Alternatives

[overtrue/socialite

A collection of OAuth 2 packages.

1.4k5.7M90](/packages/overtrue-socialite)[bigfork/silverstripe-oauth-login

SilverStripe logins via OAuth2, using the PHP League's OAuth2 client

1898.5k2](/packages/bigfork-silverstripe-oauth-login)[mmanos/laravel-social

A social login package for Laravel 4.

546.8k](/packages/mmanos-laravel-social)

PHPackages © 2026

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