Log In with Minecraft(Microsoft)
Minecraft Login Intergration for Flarum, a extend provider based on FoF/OAuth.
TL;DR: You must request access through the Mojang Minecraft API.
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
Links
Note
Support my work at afdian