Troubleshooting
Common issues and fixes.
Server won't start (database error)
# Ensure database directory exists
mkdir -p data
# Run migrations
beacon migrate --database-url sqlite://./data/beacon_auth.dbMod authentication fails
- Verify
authentication.base_urlinconfig/beaconauth-server.tomlmatches your deployedBASE_URL. - Ensure the JWKS endpoint is reachable:
- default:
${base_url}/.well-known/jwks.json
- default:
- If JKU is enabled, ensure the JWT
jkuhost matches your allowlist and useshttps://. - Check the server logs for
[BeaconAuth]entries.
Multiplayer chat cannot be sent (secure chat)
Minecraft 1.19+ uses signed chat. BeaconAuth users do not have Mojang-signed keys. BeaconAuth sends unsigned chat packets for BeaconAuth-authenticated sessions and disables "secure profile" enforcement on supported builds. Ensure the mod is installed on both client and server for the same Minecraft version.
Username shown in-game is not the BeaconAuth username
BeaconAuth can provide a separate Minecraft username via the JWT claim username.
If it is missing or invalid, the game falls back to the launcher-provided name.
OAuth redirect fails
- Verify OAuth callback URLs match exactly:
${BASE_URL}/api/v1/oauth/callback
- Ensure
BASE_URLis set correctly. - Use HTTPS in production.