Repository navigation
Authentication
github-actions[bot] edited this page Jul 21, 2026
·
1 revision
MMM-Webuntis supports two practical login modes.
Recommended for:
- student accounts
- parent accounts
- schools that use SSO
Example:
students: [
{
title: 'Alice',
qrcode: 'untis://setschool?url=myschool.webuntis.com&school=myschool&user=alice&key=ABC123...',
},
]Why this is usually the best choice:
- fewer manual fields
- works better with SSO-backed accounts
- easier to keep consistent with the mobile app
Use this when QR login is not available.
Example:
students: [
{
title: 'Alice',
username: 'alice.smith',
password: 'secret',
school: 'myschool',
server: 'myschool.webuntis.com',
},
]If you log in with a parent account, you can let the module discover all children automatically.
Example:
config: {
username: 'parent@example.com',
password: 'secret',
school: 'myschool',
server: 'myschool.webuntis.com',
students: [],
}Important detail:
-
students: []is what enables the child auto-discovery flow.
If you want to customize only one discovered child, add a students entry with the matching studentId.
You can mix credentials across students if needed, but start simple unless you really need that flexibility.
- Verify the Node version.
- Check whether the account should use QR instead of direct credentials.
- Confirm
schoolandserverare correct. - Enable
logLevel: 'debug'and continue with Troubleshooting.