PHPackages                             gaoxing520/flarum-third-party-login-only - 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. gaoxing520/flarum-third-party-login-only

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

gaoxing520/flarum-third-party-login-only
========================================

Only allow login and sign ups from oAuth extensions. fork from v17development

v0.1.2(3y ago)156MITJavaScript

Since May 20Pushed 3y agoCompare

[ Source](https://github.com/gaoxing520/flarum-third-party-login-only)[ Packagist](https://packagist.org/packages/gaoxing520/flarum-third-party-login-only)[ Docs](https://github.com/gaoxing520/flarum-third-party-login-only)[ RSS](/packages/gaoxing520-flarum-third-party-login-only/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

📰 Flarum Third Party Login only
===============================

[](#-flarum-third-party-login-only)

Only allow login and sign ups from oAuth extensions.

If you have any feedback, let us know! Do you experience issues? You can report issues on the Flarum Forum or on [GitHub](https://github.com/v17development/flarum-third-party-login-only).

> ⚠️ **Be careful**: This extension completely disables the Login and Registration forms.

ℹ️ When to use this extension?
------------------------------

[](#ℹ️-when-to-use-this-extension)

To be clear, this extension **does not add** oAuth to your Flarum instance but instead disables the `Sign In` and `Sign Up` password-forms for a better authenticating flow user experience. Use [FoF Passport](https://discuss.flarum.org/d/5203) or [FoF oAuth](https://discuss.flarum.org/d/25182) to add oAuth to your forum.

This extension is suitable for organizations or communities that only want to allow sign-in and sign-ups with external oAuth accounts/providers.

📥 Installation
--------------

[](#-installation)

If you like to install this extension, run the following command:

```
composer require v17development/flarum-third-party-login-only

```

♻ Updating
----------

[](#-updating)

Run the following command on your server to update the plugin

```
composer update v17development/flarum-third-party-login-only

```

🦸 Features
----------

[](#-features)

- Disables `/login`, `/api/login` and removes login form
- Disables `/register` if there's no oAuth-sign-in `token` and removes registration form
- Disables `/reset` &amp; `/api/forgot` routes and removes password reset form
- Managing new signups via oAuth extensions is still possible with the `Allow signups` permission
- Makes it possible to add a welcome message for new users

Knowledge base articles:
------------------------

[](#knowledge-base-articles)

- [Replacing Sign In and Sign Up button](https://community.v17.dev/knowledgebase/41)
- [Authenticating new accounts](https://community.v17.dev/knowledgebase/44)
- [Change and reset password links](https://community.v17.dev/knowledgebase/43)
- [Allow users to change their email](https://community.v17.dev/knowledgebase/42)

🔨 Works with:
-------------

[](#-works-with)

- [FriendsOfFlarum Passport](https://discuss.flarum.org/d/5203)
- [FriendsOfFlarum oAuth](https://discuss.flarum.org/d/25182)

🙋 Questions, feedback?
----------------------

[](#-questions-feedback)

If you have any questions related to this extension, don't hesistate and reply to this topic or [open an issue](https://github.com/v17development/flarum-third-party-login-only/issues).

❤️ Sponsored by Buttonizer
--------------------------

[](#️-sponsored-by-buttonizer)

This extension is sponsored by [Buttonizer](https://buttonizer.pro/).

🖼️ Screenshots
--------------

[](#️-screenshots)

### Sign In window

[](#sign-in-window)

After activating this extension, the sign in form is removed, only oAuth buttons are visible. The "Forgot password" link is only visible when a "Forgot password link" is set-up.

If the `Replace Sign In and Sign Up button` setting is enabled, the `Log in` window will not be visible and automatically opens the FoF Passport oAuth sign in window.

[![Sign in](https://camo.githubusercontent.com/6f982dae5e453b9fccbb3df103015f0ab021e07a2f31cc118ea755c6f5e0b78f/68747470733a2f2f692e696d6775722e636f6d2f447a4d6c3163782e706e67)](https://camo.githubusercontent.com/6f982dae5e453b9fccbb3df103015f0ab021e07a2f31cc118ea755c6f5e0b78f/68747470733a2f2f692e696d6775722e636f6d2f447a4d6c3163782e706e67)

### Custom Sign Up text

[](#custom-sign-up-text)

If set, a custom welcome text will be visible after authenticating with new accounts. [![Sign Up](https://camo.githubusercontent.com/8c619cb8358f635412a780b7916874b5c90233059dfe1f3ca053672091a30747/68747470733a2f2f692e696d6775722e636f6d2f63754f496164692e706e67)](https://imgur.com/a/ix87nkM)

### Admin settings

[](#admin-settings)

[![Admin settings](https://camo.githubusercontent.com/bc6e894305fc20174bbc7261545ea65cba5f72dad4c2f81899ad9e4c8eef2ae0/68747470733a2f2f692e696d6775722e636f6d2f6f514f734d62372e706e67)](https://imgur.com/a/ix87nkM)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

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

1453d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c6639e184eb9bcc12b0cca0e85ede7af591edce21e237e4f0b705be8e0c5bc9?d=identicon)[gaoxing520](/maintainers/gaoxing520)

---

Top Contributors

[![jaspervriends](https://avatars.githubusercontent.com/u/4417659?v=4)](https://github.com/jaspervriends "jaspervriends (14 commits)")[![pboschma](https://avatars.githubusercontent.com/u/25609730?v=4)](https://github.com/pboschma "pboschma (2 commits)")[![lcnja](https://avatars.githubusercontent.com/u/1659220?v=4)](https://github.com/lcnja "lcnja (1 commits)")

### Embed Badge

![Health badge](/badges/gaoxing520-flarum-third-party-login-only/health.svg)

```
[![Health](https://phpackages.com/badges/gaoxing520-flarum-third-party-login-only/health.svg)](https://phpackages.com/packages/gaoxing520-flarum-third-party-login-only)
```

###  Alternatives

[flarum/suspend

Suspend users so they can't post.

10404.5k16](/packages/flarum-suspend)[fof/oauth

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

50118.7k41](/packages/fof-oauth)[flarum/approval

Make discussions and posts require moderator approval.

12431.2k31](/packages/flarum-approval)[flarum/flags

Allow users to flag posts for moderator review.

11468.8k22](/packages/flarum-flags)[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)

PHPackages © 2026

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