Add support for access tokens using MAS

This commit is contained in:
Taylor Southwick
2026-03-05 18:57:00 +00:00
parent afc5572d6a
commit 1d8f2b6890
5 changed files with 67 additions and 13 deletions

View File

@@ -5,8 +5,17 @@ homeserver:
user:
mxid_localpart: baibot
# Authentication: set EITHER password OR access_token + device_id.
#
# Password-based login (traditional homeservers):
password: baibot
# Access token login (for MAS/OIDC-enabled homeservers):
# Generate a token via: mas-cli manage issue-compatibility-token <username> [device_id]
# access_token: null
# device_id: null
# The name the bot uses as a display name and when it refers to itself.
# Leave empty to use the default (baibot).
name: baibot