mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 05:49:41 +02:00
✨ feat(bot-services): add Matrix-SSO-Link for persistent login
After successful !login, the bot now stores a persistent link between the Matrix user ID and the Mana account in mana-core-auth. This allows the bot to auto-authenticate users in the future without requiring another !login command. Changes: - Add createMatrixUserLink() method to SessionService - Call link creation after successful login - Add MANA_CORE_SERVICE_KEY to todo and calendar bot docker config Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
431957ca05
commit
7d450aa2a8
2 changed files with 40 additions and 0 deletions
|
|
@ -783,6 +783,7 @@ services:
|
|||
REDIS_HOST: redis
|
||||
REDIS_PASSWORD: ${REDIS_PASSWORD:-redis123}
|
||||
MANA_CORE_AUTH_URL: http://mana-auth:3001
|
||||
MANA_CORE_SERVICE_KEY: ${MANA_CORE_SERVICE_KEY}
|
||||
TODO_BACKEND_URL: http://todo-backend:3031
|
||||
MATRIX_HOMESERVER_URL: http://synapse:8008
|
||||
MATRIX_ACCESS_TOKEN: ${MATRIX_TODO_BOT_TOKEN}
|
||||
|
|
@ -815,6 +816,7 @@ services:
|
|||
REDIS_HOST: redis
|
||||
REDIS_PASSWORD: ${REDIS_PASSWORD:-redis123}
|
||||
MANA_CORE_AUTH_URL: http://mana-auth:3001
|
||||
MANA_CORE_SERVICE_KEY: ${MANA_CORE_SERVICE_KEY}
|
||||
CALENDAR_BACKEND_URL: http://calendar-backend:3032
|
||||
MATRIX_HOMESERVER_URL: http://synapse:8008
|
||||
MATRIX_ACCESS_TOKEN: ${MATRIX_CALENDAR_BOT_TOKEN}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue