implement /login/get_token (MSC3882)

This commit is contained in:
Jade Ellis 2025-01-11 18:49:21 +00:00 committed by June Clementine Strawberry 🍓🦴
parent afe9e5536b
commit 2cc6ad8df3
7 changed files with 196 additions and 24 deletions

View file

@ -645,6 +645,22 @@
#
#openid_token_ttl = 3600
# Allow an existing session to mint a login token for another client.
# This requires interactive authentication, but has security ramifications
# as a malicious client could use the mechanism to spawn more than one
# session.
# Enabled by default.
#
#login_via_existing_session = true
# Login token expiration/TTL in milliseconds.
#
# These are short-lived tokens for the m.login.token endpoint.
# This is used to allow existing sessions to create new sessions.
# see login_via_existing_session.
#
#login_token_ttl = 120000
# Static TURN username to provide the client if not using a shared secret
# ("turn_secret"), It is recommended to use a shared secret over static
# credentials.