v17development/flarum-third-party-login-only

Only allow login and sign ups from oAuth extensions.

Installs: 1 636

Dependents: 0

Suggesters: 0

Security: 0

Stars: 9

Watchers: 2

Forks: 2

Open Issues: 1

Language:JavaScript

Type:flarum-extension

v0.1.1 2021-08-08 11:40 UTC

This package is auto-updated.

Last update: 2024-07-09 17:57:51 UTC


README

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.

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

ℹ️ 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 or FoF oAuth 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

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

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

♻ Updating

Run the following command on your server to update the plugin

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

🦸 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 & /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:

🔨 Works with:

🙋 Questions, feedback?

If you have any questions related to this extension, don't hesistate and reply to this topic or open an issue.

❤️ Sponsored by Buttonizer

This extension is sponsored by Buttonizer.

🖼️ Screenshots

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

Custom Sign Up text

If set, a custom welcome text will be visible after authenticating with new accounts. Sign Up

Admin settings

Admin settings