PHPackages                             mapkyca/known-oauth-client - 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. mapkyca/known-oauth-client

ActiveKnown-plugin[Authentication &amp; Authorization](/categories/authentication)

mapkyca/known-oauth-client
==========================

OAuth2 Sign-on with OAuth client

1.2.4(5y ago)16.6k↑93.5%1[1 issues](https://github.com/mapkyca/known-oauth2-client/issues)GPL-2.0PHPPHP &gt;=7.0CI failing

Since Sep 16Pushed 5y agoCompare

[ Source](https://github.com/mapkyca/known-oauth2-client)[ Packagist](https://packagist.org/packages/mapkyca/known-oauth-client)[ Docs](https://www.marcus-povey.co.uk)[ Fund](https://www.paypal.me/mapkyca)[ RSS](/packages/mapkyca-known-oauth-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (26)Used By (0)

Known Generic OAuth2 Client (experimental)
==========================================

[](#known-generic-oauth2-client-experimental)

This is a generic, and very experimental, OAuth2 "log in with" plugin.

This is very early days and was really written to implement an MVP proof of concept thingy for a client of mine. However, it could be more widely useful and with a bit of work could be handy for folk.

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

[](#installation)

- Check it out
- Run `composer install` to get the various libraries
- Put it in your IdnoPlugins directory as OAuth2Client
- Activate in your plugins

Or

From your known install:

`composer require mapkyca/known-oauth-client`

Usage
-----

[](#usage)

Go to the admin page and create your new buttons by filling in the appropriate details.

Out of the box this plugin WON'T fully log you in as whatever, you need to write your own handler plugin to listen to the `oauth2/authorised` event hook.

This hook is passed an array containing the access token and other details for your to use to match up with a user, or create a new one.

If the hook goes unanswered, the plugin will look for `id` or `username` in the return JSON.

See
---

[](#see)

- Author: [Marcus Povey](https://www.marcus-povey.co.uk)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 98.9% 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 ~24 days

Recently: every ~68 days

Total

25

Last Release

1835d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b819f4bdf7f1a836be6ca2c32d8f8aadd59fae9d00c32f2cba5341809e6c436e?d=identicon)[mapkyca](/maintainers/mapkyca)

---

Top Contributors

[![mapkyca](https://avatars.githubusercontent.com/u/124070?v=4)](https://github.com/mapkyca "mapkyca (91 commits)")[![benwerd](https://avatars.githubusercontent.com/u/624104?v=4)](https://github.com/benwerd "benwerd (1 commits)")

---

Tags

pluginknown

### Embed Badge

![Health badge](/badges/mapkyca-known-oauth-client/health.svg)

```
[![Health](https://phpackages.com/badges/mapkyca-known-oauth-client/health.svg)](https://phpackages.com/packages/mapkyca-known-oauth-client)
```

###  Alternatives

[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2275.9M27](/packages/stevenmaguire-oauth2-keycloak)[patrickbussmann/oauth2-apple

Sign in with Apple OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1132.5M6](/packages/patrickbussmann-oauth2-apple)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.2M7](/packages/microsoft-kiota-authentication-phpleague)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)[winter/wn-user-plugin

User plugin for Winter CMS

1233.5k13](/packages/winter-wn-user-plugin)

PHPackages © 2026

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