nearata / flarum-ext-auth-minecraft
Allow users to login with Minecraft.
Installs: 260
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:flarum-extension
Requires
- flarum/core: ^1.0
- illuminate/http: ^8.0
README
A Flarum extension. Allow users to login with Minecraft.
Requirements
You need a Minecraft server with OAuth plugin installed.
Install
composer require nearata/flarum-ext-auth-minecraft
Remove
Disable the extension, click uninstall and run these commands:
composer remove nearata/flarum-ext-auth-minecraft php flarum cache:clear
How to use
You need to fill all the fields in Minecraft Auth admin settings page.
Minecraft Server IP
The Minecraft server IP that is using the OAuth plugin.
API URL
If for example you are running Flarum and the Minecraft Server on the same machine, you are free to use http://localhost:4567/verify
. If the Minecraft Server is on a different machine, you need to update localhost
with the public IP of that machine.
API Secret
The API secret can be found in the Plugins/OAuth/config.json
file.