MyBB

Verified working

Login con TuServerMU for MyBB

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.

The button, live on a MyBB login

Login con TuServerMU on a MyBB login page

Download the plugin

Upload the Upload/ contents to your forum root, then Install & Activate in the Admin CP.

login-con-tuservermu-mybb.zip

1 Register your app

At Account → OAuth apps, create a Confidential app with redirect URI:

https://your-forum.com/tsm_sso.php?action=callback

2 Upload & activate

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.

3 Configure

In Admin CP → Configuration → Settings → Login con TuServerMU, paste your Client ID and Client Secret. Save. The button appears on the login page.

How it works

  • /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

Latest across the ecosystem