A plugin for the MyBB forum (1.8.x) - the favorite of MU Online communities. It adds a “Login con TuServerMU” button to the login page, then links an existing member by email or creates one, and signs them in. Installs from the Admin CP; no template edits to maintain. Tested end-to-end and working.
Upload the Upload/ contents to your forum root, then Install & Activate in the Admin CP.
At Account → OAuth apps, create a Confidential app with redirect URI:
https://your-forum.com/tsm_sso.php?action=callback
Upload the contents of Upload/ to your forum root:
inc/plugins/tsm_sso.php tsm_sso.php
Then go to Admin CP → Configuration → Plugins, find Login con TuServerMU and click Install & Activate.
In Admin CP → Configuration → Settings → Login con TuServerMU, paste your Client ID and Client Secret. Save. The button appears on the login page.
/tsm_sso.php?action=login - sends the member to TuServerMU (Authorization Code + PKCE)./tsm_sso.php?action=callback - exchanges the code, reads the profile, links the member by email or creates one with UserDataHandler, then logs them in (mybbuser cookie).Run the forum on PHP 8.1–8.4 (MyBB isn't verified on 8.5 yet). Web-login integration; for in-game MEMB_INFO provisioning use the WebEngine / MuWeb plugins.
Questions? [email protected] · Full OIDC docs