PHPackages                             johnhearfield/flarum-ext-oauth-google - 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. johnhearfield/flarum-ext-oauth-google

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

johnhearfield/flarum-ext-oauth-google
=====================================

Allow users to log in with Google.

v0.1.0-beta.8.1(9y ago)102.6k5[1 issues](https://github.com/johnhearfield/flarum-ext-oauth-google/issues)MITPHP

Since Jun 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/johnhearfield/flarum-ext-oauth-google)[ Packagist](https://packagist.org/packages/johnhearfield/flarum-ext-oauth-google)[ RSS](/packages/johnhearfield-flarum-ext-oauth-google/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

Flarum Google Authenticator
===========================

[](#flarum-google-authenticator)

[![Maintenance](https://camo.githubusercontent.com/8118bd09ba8fa31a7323ca2a4e996d63b1c7f35d5f7f2a8447b0372edfac18e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d61696e7461696e65642533462d6e6f2d7265642e737667)](https://camo.githubusercontent.com/8118bd09ba8fa31a7323ca2a4e996d63b1c7f35d5f7f2a8447b0372edfac18e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d61696e7461696e65642533462d6e6f2d7265642e737667)[![PRs Welcome](https://camo.githubusercontent.com/25b3e6d0d42c98de74a98cbb4d149a1c09020cf6d1361993b72d7d5b8ffed363/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](http://makeapullrequest.com)

Allows users to login using their Google Account.

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

[](#installation)

To install, use composer:

```
composer require johnhearfield/flarum-ext-oauth-google

```

Usage
-----

[](#usage)

- Install extension via Composer / Packagist
- Enable extension in the admin/extensions of Flarum
- Fill in the settings field for the extension

Setup instructions for Google
-----------------------------

[](#setup-instructions-for-google)

---

1. Go to the Google API Console: [https://console.developers.google.com/project/\_/apiui/apis/library](https://console.developers.google.com/project/_/apiui/apis/library)
2. Create a new project in the dropdown at the top and give it a name (eg My Flarum)
3. Once on the project dashboard, search for **Google+** and enable the API
4. In the sidebar under "API Manager", select **Credentials**, then select the **OAuth consent screen** tab.
5. Choose an Email Address, specify a Product Name, and press Save.
6. In the Credentials tab, select the New credentials drop-down list, and choose **OAuth client ID**.
7. Select **Web Application**
8. The **Authorized Javascript origin** will be your domain: ****
9. The **Authorised redirect URIs** will be **** (notice it ends in */auth/google*
10. From the resulting OAuth client dialog box, you will be able to access the **Client ID** and the **Client Secret** will you will need to paste into the settings box on the Flarum extension

**Notice**The *Hosted Domain* paramater is for only allowing emails in your Google Apps account access, otherwise you should leave it blank

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% 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 ~0 days

Total

3

Last Release

3625d ago

### Community

---

Top Contributors

[![johnhearfield](https://avatars.githubusercontent.com/u/12893912?v=4)](https://github.com/johnhearfield "johnhearfield (5 commits)")[![ardacebi](https://avatars.githubusercontent.com/u/17576065?v=4)](https://github.com/ardacebi "ardacebi (1 commits)")[![dshovchko](https://avatars.githubusercontent.com/u/564184?v=4)](https://github.com/dshovchko "dshovchko (1 commits)")[![edgimar](https://avatars.githubusercontent.com/u/393850?v=4)](https://github.com/edgimar "edgimar (1 commits)")

---

Tags

flarumflarum-extensionoauth-client

### Embed Badge

![Health badge](/badges/johnhearfield-flarum-ext-oauth-google/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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