Commit Graph

6 Commits

Author SHA1 Message Date
John Livingston
257fdbd2c2
Authentication token generation (#98):
* setting to disable the feature (aka "panic button")
2024-06-17 15:25:02 +02:00
John Livingston
6bb29d79f8
Authentication token generation WIP (#98)
* fix stored data format
* implement user_exists and check_password
2024-06-17 12:44:26 +02:00
John Livingston
90afdafbd9
Authentication token generation WIP (#98)
You can now generate links to join chatrooms with your current user. This can be used to create Docks in OBS for example. This could also be used to generate authentication token to join the chat from 3rd party tools.
2024-06-17 11:43:59 +02:00
John Livingston
d5c327565c
Adding SPDX headers (WIP) 2024-05-23 11:42:14 +02:00
John Livingston
64668733c8
Code refactoring:
Splitting API code in several files.
2023-09-07 17:20:01 +02:00
John Livingston
76adc7124f Prosody auth, first working code:
* generated password on an api call
* use this password to authenticate on prosody
* using helper getAuthUser when available, else fallback to custom code
2021-05-04 13:00:44 +02:00