Skip to content

Commit

Permalink
matrix_affiliation, docs: matrix affiliation notes into README
Browse files Browse the repository at this point in the history
  • Loading branch information
emrahcom committed Aug 1, 2023
1 parent be9ecca commit ee991e8
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions auth_hybrid_matrix_token/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Hybrid Matrix Token

This is an authentication module for `Prosody` which supports `Matrix` and
standard `Jitsi` token at the same time. The module senses the type of the token
and handles it depending on its type.
This module is an authentication provider for `Prosody` which supports `Matrix`
and standard `Jitsi` token at the same time. The module senses the type of the
token and handles it depending on its type.

## Installation

- Copy this script to the Prosody plugins folder. It's the following folder on
- Copy the module into the Prosody plugins folder. It's the following folder on
Debian:

```bash
Expand Down Expand Up @@ -40,6 +40,25 @@ and handles it depending on its type.
}
```
- Affiliation (power level)
Use `matrix_affiliation` to synchronise Jitsi affiliation according to Matrix
power level:
```bash
cd /usr/share/jitsi-meet/prosody-plugins/
wget -O mod_matrix_affiliation.lua https://raw.githubusercontent.com/jitsi-contrib/prosody-plugins/main/auth_hybrid_matrix_token/mod_matrix_affiliation.lua
```
_/etc/prosody/conf.d/meet.mydomain.com.cfg.lua_
```lua
Component "conference.meet.mydomain.com" "muc"
modules_enabled = {
"matrix_affiliation";
}
```
- Restart the services
```bash
Expand Down

0 comments on commit ee991e8

Please sign in to comment.