A proper extension for phpBB 3.3. It adds a “Login con TuServerMU” button to the navbar, then links an existing member by email or creates one, and signs them in. Built on phpBB's extension system (controller routes + template events), installed from the ACP. Tested end-to-end and working.
Copy ext/tsm/sso/ into your board's ext/, then enable it in the ACP.
At Account → OAuth apps, create a Confidential app with redirect URI:
https://your-board.com/app.php/sso/callback
Copy ext/tsm/sso/ into your board's ext/ folder, then ACP → Customise → Manage extensions → Enable “Login con TuServerMU”. (Or CLI: php bin/phpbbcli.php extension:enable tsm/sso.)
Set your credentials (read from config):
php bin/phpbbcli.php config:set tsm_sso_client_id YOUR_CLIENT_ID php bin/phpbbcli.php config:set tsm_sso_client_secret YOUR_CLIENT_SECRET
The button appears in the navbar for logged-out visitors.
/app.php/sso/login - controller route; sends the member to TuServerMU (Auth Code + PKCE)./app.php/sso/callback - exchanges the code, reads the profile, links the member by email or creates one with user_add(), then logs them in with session_create().Run the board on PHP 7.2–8.4 (not 8.5 yet). Web-login integration; for in-game MEMB_INFO provisioning use the WebEngine / MuWeb plugins.
Questions? [email protected] · Full OIDC docs