Software /
code /
prosody-modules
Annotate
mod_turncredentials/README.md @ 6191:94399ad6b5ab
mod_invites_register_api: Use set_password() for password resets
Previously the code relied on the (weird) behaviour of create_user(), which
would update the password for a user account if it already existed. This has
several issues, and we plan to deprecate this behaviour of create_user().
The larger issue is that this route does not trigger the user-password-changed
event, which can be a security problem. For example, it did not disconnect
existing user sessions (this occurs in mod_c2s in response to the event).
Switching to set_password() is the right thing to do.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 06 Feb 2025 10:13:39 +0000 |
parent | 6014:78418e86c003 |
rev | line source |
---|---|
6011
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
1 --- |
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
2 summary: Implement XEP-0215 |
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
3 labels: |
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
4 - 'Stage-Obsolete' |
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
5 ... |
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
6 |
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
7 ::: {.alert .alert-warning} |
6014
78418e86c003
mod_turncredentials: fix copy error.
Menel <menel@snikket.de>
parents:
6011
diff
changeset
|
8 A similar module is already included in prosody since 0.12, see [mod_turn_external][doc:modules:mod_turn_external] making this module obsolete. |
6011
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
9 ::: |
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
10 |
4002
9e84a9cc3415
mod_turncredentials/README: Markdown syntax normalization
Kim Alvefur <zash@zash.se>
parents:
4001
diff
changeset
|
11 # Introduction |
2473
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
12 |
4002
9e84a9cc3415
mod_turncredentials/README: Markdown syntax normalization
Kim Alvefur <zash@zash.se>
parents:
4001
diff
changeset
|
13 [XEP-0215] implementation for [time-limited TURN |
9e84a9cc3415
mod_turncredentials/README: Markdown syntax normalization
Kim Alvefur <zash@zash.se>
parents:
4001
diff
changeset
|
14 credentials](https://tools.ietf.org/html/draft-uberti-behave-turn-rest-00). |
2473
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
15 |
4002
9e84a9cc3415
mod_turncredentials/README: Markdown syntax normalization
Kim Alvefur <zash@zash.se>
parents:
4001
diff
changeset
|
16 # Configuration |
2473
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
17 |
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
18 Option Type Default |
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
19 ------------------------- -------- ------------ |
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
20 turncredentials\_secret string *required* |
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
21 turncredentials\_host string *required* |
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
22 turncredentials\_port number `3478` |
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
23 turncredentials\_ttl number `86400` |
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
24 |
4003
b6fdd7e24bcc
mod_turncredentials/README: Link to some stun/turn implementations (thanks Holger)
Kim Alvefur <zash@zash.se>
parents:
4002
diff
changeset
|
25 # Compatible TURN / STUN servers. |
2473
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
26 |
4003
b6fdd7e24bcc
mod_turncredentials/README: Link to some stun/turn implementations (thanks Holger)
Kim Alvefur <zash@zash.se>
parents:
4002
diff
changeset
|
27 - [coturn](https://github.com/coturn/coturn) - [setup guide][doc:coturn] |
b6fdd7e24bcc
mod_turncredentials/README: Link to some stun/turn implementations (thanks Holger)
Kim Alvefur <zash@zash.se>
parents:
4002
diff
changeset
|
28 - [restund](http://www.creytiv.com/restund.html) |
4055
cf1304ad2336
mod_turncredentials/README: Link to eturnal (thanks Holger)
Kim Alvefur <zash@zash.se>
parents:
4020
diff
changeset
|
29 - [eturnal](https://eturnal.net/) |
4020
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
4005
diff
changeset
|
30 |
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
4005
diff
changeset
|
31 # Compatibility |
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
4005
diff
changeset
|
32 |
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
4005
diff
changeset
|
33 Incompatible with [mod_extdisco](https://modules.prosody.im/mod_extdisco.html) |
6011
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
34 |
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
35 ------- -------------- |
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
36 0.12 Works |
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
37 0.11 Works |
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
38 ------- -------------- |