element-hq / chatterbox

Chatterbox lets you securely embed Hydrogen on any website!
Apache License 2.0
172 stars 21 forks source link

Provide credentials for a know user #85

Open johan-smits opened 2 years ago

johan-smits commented 2 years ago

Describe the solution you'd like Currently all chat users are "new" users. With the application token new users are created. In our environment we have all our clients registered in Matrix. By making the config.json endpoint dynamic (should send cookie credentials retrieving it) we could provide a predefined session token in the config for the known user. This helps us to identify the user (#63) and detect the preferred language for our bot.