PHPackages                             fof/auth-gitlab - 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. fof/auth-gitlab

Abandoned → [fof/oauth](/?search=fof%2Foauth)ArchivedFlarum-extension[Authentication &amp; Authorization](/categories/authentication)

fof/auth-gitlab
===============

Allow users to log in with GitLab.

0.2.0(5y ago)3972MITPHP

Since Jun 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/FriendsOfFlarum/auth-gitlab)[ Packagist](https://packagist.org/packages/fof/auth-gitlab)[ Fund](https://opencollective.com/fof)[ RSS](/packages/fof-auth-gitlab/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

GitLab Login by FriendsOfFlarum
===============================

[](#gitlab-login-by-friendsofflarum)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/5f6ccf3dd902e5f37140e0e62035472960dcd7d7219693a07e5054884cbcb185/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666f662f617574682d6769746c61622e737667)](https://packagist.org/packages/fof/auth-gitlab)

A [Flarum](http://flarum.org) extension. Allow users to log in with GitLab.

### Installation

[](#installation)

Install manually with composer:

```
composer require fof/auth-gitlab
```

### Updating

[](#updating)

```
composer update fof/auth-gitlab
php flarum cache:clear
```

### Setup via GitLab

[](#setup-via-gitlab)

1. Go to .
2. Log in if prompted.
3. Set the name of the application to whatever you want it to be (it doesn't really matter).
4. Enter your `Redirect Uri` which should be something like this: `https://myforum.com/auth/gitlab` (SSL is required).
5. The only scope necessary is `read_user` so just tick that box.
6. Copy your `Application Id` and `Secret` over to the extension's settings via your Flarum forum Admin CP &amp; click "Save Settings".
7. (Optional) You can also add an optional base URL for self-hosted instances if needed.
8. ??? ???
9. PROFIT ONCE MORE!

### Links

[](#links)

- [Packagist](https://packagist.org/packages/fof/auth-gitlab)
- [GitHub](https://github.com/FriendsOfFlarum/auth-gitlab)

### Notes

[](#notes)

- 09/18/2020
    - As of Flarum Beta 14, this extension will be superseded by [FriendsOfFlarum Oauth](https://github.com/FriendsOfFlarum/oauth).

### Acknowledgements

[](#acknowledgements)

Special thanks to [@datitisev](https://github.com/datitisev) for his AMAZING Flarum development tools!

See below for tools used in this project:

- [fof/extend](https://github.com/FriendsOfFlarum/extend)
- [@fof/components](https://github.com/FriendsOfFlarum/components)

Time saved during development: **A LOT**.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~460 days

Total

2

Last Release

2065d ago

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/1630413?v=4)[Gregor Hammerschmidt](/maintainers/GreXXL)[@GreXXL](https://github.com/GreXXL)

![](https://www.gravatar.com/avatar/0538135c1debcef5602dce7ece027909cc832b7a6284ab9189a19aa8de98d60d?d=identicon)[clarkwinkelmann](/maintainers/clarkwinkelmann)

![](https://www.gravatar.com/avatar/1298cdc0b2402a1aa34fb75a254947d655e090d62bd0531311331d369cac934e?d=identicon)[datitisev](/maintainers/datitisev)

---

Top Contributors

[![Ralkage](https://avatars.githubusercontent.com/u/2059356?v=4)](https://github.com/Ralkage "Ralkage (17 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![dsevillamartin](https://avatars.githubusercontent.com/u/6401250?v=4)](https://github.com/dsevillamartin "dsevillamartin (1 commits)")

---

Tags

flarumfriendsofflarumgitlabflarum

### Embed Badge

![Health badge](/badges/fof-auth-gitlab/health.svg)

```
[![Health](https://phpackages.com/badges/fof-auth-gitlab/health.svg)](https://phpackages.com/packages/fof-auth-gitlab)
```

###  Alternatives

[fof/oauth

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

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

Upvotes and downvotes for your Flarum community

4157.1k6](/packages/fof-gamification)[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)

PHPackages © 2026

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