gbcl / minecraft-oauth
Log in to your Flarum forum with Minecraft
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:flarum-extension
Requires
- php: ^8.0
- ext-json: *
- ext-openssl: *
- firebase/php-jwt: ^6.10
- flarum/core: ^1.8.0
- fof/components: ^1.0
- fof/oauth: ^1.6
- laravel/helpers: ^1.7
- league/oauth2-client: ^2.7
- stevenmaguire/oauth2-microsoft: ^2.2
README
Minecraft Login Intergration for Flarum, a extend provider based on FoF/OAuth.
Install
composer require gbcl/minecraft-oauth:"*"
php flarum cache:clear
Update
composer update gbcl/minecraft-oauth php flarum cache:clear
Remove
composer remove gbcl/minecraft-oauth php flarum cache:clear
How to use
- Create a new SPA application in Azure Active Directory (Azure Entra ID) and restrict users to "Microsoft personal accounts only", then copy the Application (Client) ID as the
Client ID
- Configure the callback path, find the Client Password column in Management -> Certificate and Password/Secret, create a new client secret and copy the content in the value, saving as the
Client Secret
- According to this document, you need to apply for Minecraft API access from Mojang
- Configure and enable this provider in FoF/OAuth
Feature
- Full OAuth2 Support.
Note
Any trademarks, service marks, collective marks, design rights, personality rights or similar rights mentioned, used or cited in this extension are owned by their respective owners. Unless otherwise stated, GBCLStudio and the extension users are not endorsed or affiliated by the above right owners.
Support my work at afdian