PHPackages                             fly3949/flarum-ext-sso - 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. fly3949/flarum-ext-sso

ActiveFlarum-extension[Authentication &amp; Authorization](/categories/authentication)

fly3949/flarum-ext-sso
======================

A SSO extension for flarum.

0.0.1(5y ago)010[13 PRs](https://github.com/fly3949/flarum-ext-sso/pulls)MITPHP

Since Jun 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/fly3949/flarum-ext-sso)[ Packagist](https://packagist.org/packages/fly3949/flarum-ext-sso)[ RSS](/packages/fly3949-flarum-ext-sso/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (15)Used By (0)

Flarum SSO
==========

[](#flarum-sso)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/31d5b239116e2faf4076b85b881c4026b264739e79a386a8cc2485b47a320c89/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c79333934392f666c6172756d2d6578742d73736f2e737667)](https://packagist.org/packages/fly3949/flarum-ext-sso)

A [Flarum](http://flarum.org) extension. A SSO extension for flarum.

### !!! Attention !!!

[](#-attention-)

It is NOT fully tested. Do NOT install it in production.

### Installation

[](#installation)

Use [Bazaar](https://discuss.flarum.org/d/5151-flagrow-bazaar-the-extension-marketplace) or install manually with composer:

```
composer require fly3949/flarum-ext-sso
```

### How To Use

[](#how-to-use)

After installation, you should generate a secret key (strong enough) and fill it into the extension setting page.

Then, in your app, redirect your user to the login url:

```
https://example.com/session/sso_login?
    email=example@example.com &
    id=1 &
    username=example &
    time=1591359188 &
    signature=3ec02dd23291fbed8faac4cef71b5f284c0ff955cc1d27f5e30efabe4ee40008

```

Here is the example code (in a Laravel app):

```
$email = 'example@example.com';
$id = 1;
$username = 'example';
$now = Carbon::now()->timestamp;
$secret = env('FLARUM_SSO_KEY'); // for example: VRSW1xDk1e1gsC8zIOaOiJhg6xTKrqm4o6Gt7LAS

$data = [
    'email' => $email,
    'id' => $id,
    'username' => $username,
    'time' => $now,
    'signature' => hash_hmac('sha256', $email . $id . $username . $now, $secret)
];

$query = http_build_query($data);

return redirect('https://example.com/session/sso_login?' . $query);
```

### Updating

[](#updating)

```
composer update fly3949/flarum-ext-sso
```

### Links

[](#links)

- [Packagist](https://packagist.org/packages/fly3949/flarum-ext-sso)

### Thanks To

[](#thanks-to)

- [maicol07/flarum-ext-sso](https://github.com/maicol07/flarum-ext-sso)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

2166d ago

### Community

Maintainers

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

---

Top Contributors

[![fly3949](https://avatars.githubusercontent.com/u/14029059?v=4)](https://github.com/fly3949 "fly3949 (9 commits)")

---

Tags

flarum

### Embed Badge

![Health badge](/badges/fly3949-flarum-ext-sso/health.svg)

```
[![Health](https://phpackages.com/badges/fly3949-flarum-ext-sso/health.svg)](https://phpackages.com/packages/fly3949-flarum-ext-sso)
```

###  Alternatives

[fof/oauth

Allow users to log in with GitHub, Facebook, Google, Discord, GitLab, LinkedIn, and more!

50118.7k41](/packages/fof-oauth)[fof/doorman

Create invite codes for users to sign up and be assigned to a group

2537.2k2](/packages/fof-doorman)[maicol07/flarum-ext-sso

SSO for Flarum

468.3k](/packages/maicol07-flarum-ext-sso)[fof/terms

Ask users to accept terms of use before using the forum

1367.8k1](/packages/fof-terms)[fof/passport

The OAuth2 (and Laravel passport) compatible oauth extension

3013.3k](/packages/fof-passport)[foskym/flarum-oauth-center

Allow user to authorize the third clients

221.4k](/packages/foskym-flarum-oauth-center)

PHPackages © 2026

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