PHPackages                             riddler7/silverstripe-oauth2-graphql - 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. riddler7/silverstripe-oauth2-graphql

ActiveSilverstripe-vendormodule

riddler7/silverstripe-oauth2-graphql
====================================

SilverStripe module for adding graphql support to oauth2 server

0145[2 PRs](https://github.com/riddler7/silverstripe-oauth2-graphql/pulls)PHP

Since Jun 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/riddler7/silverstripe-oauth2-graphql)[ Packagist](https://packagist.org/packages/riddler7/silverstripe-oauth2-graphql)[ RSS](/packages/riddler7-silverstripe-oauth2-graphql/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

SilverStripe Oauth2 Server
==========================

[](#silverstripe-oauth2-server)

[![Build Status](https://camo.githubusercontent.com/c75ae87a5fd20ef7009dbeb6f658631c2715e360ffe9fdd18b5b50fa471d72a0/68747470733a2f2f7472617669732d63692e6f72672f726964646c6572372f73696c7665727374726970652d6f61757468322d6772617068716c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/riddler7/silverstripe-oauth2-graphql)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b5ec7f00c00f127c776fd6029824d5b1049ac25834f095d890fe4eedbf5bd87c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f726964646c6572372f73696c7665727374726970652d6f61757468322d6772617068716c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/riddler7/silverstripe-oauth2-graphql/?branch=master)[![codecov](https://camo.githubusercontent.com/2677c9f73d4606edbd1d514b46b9969b52c031113d0409e1f82f4db8853fb952/68747470733a2f2f636f6465636f762e696f2f67682f726964646c6572372f73696c7665727374726970652d6f61757468322d6772617068716c2f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/riddler7/silverstripe-oauth2-graphql)

Adds support for oauth2 authentication (using advanced-learning/silverstripe-oauth2-server).

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

[](#requirements)

- `silverstripe/framework` ^4.0
- `advanced-learning/silverstripe-oauth2-server`
- `PHP >= 7.1`

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

[](#installation)

Install with [Composer](https://getcomposer.org):

```
composer require riddler7/silverstripe-oauth-graphql
```

Usage
-----

[](#usage)

Adds the oauth to the context in graphql. To enable you need to configure your own graphql endpoint to use the controller from this module as it overwrites the index method of the default graphql controller to allow it access the the request add add contexts.

```
SilverStripe\Control\Director:
  rules:
    mygraphqlurl:
      Controller: 'Riddler7\Oauth2GraphQL\Controller'
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 93.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/645422a4eee17131073ce7c7cf54eebdeb3ae98aabc116a1519e3e9eb6f0e54e?d=identicon)[riddler7](/maintainers/riddler7)

---

Top Contributors

[![riddler7](https://avatars.githubusercontent.com/u/362836?v=4)](https://github.com/riddler7 "riddler7 (14 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/riddler7-silverstripe-oauth2-graphql/health.svg)

```
[![Health](https://phpackages.com/badges/riddler7-silverstripe-oauth2-graphql/health.svg)](https://phpackages.com/packages/riddler7-silverstripe-oauth2-graphql)
```

PHPackages © 2026

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