Update tokens.md

This commit is contained in:
Paweł Domas 2015-11-09 10:07:24 -06:00
parent ddad33189d
commit 831c3564ec
1 changed files with 4 additions and 3 deletions

View File

@ -82,7 +82,7 @@ the presence stanza that creates the room:
to='angrywhalesgrowhigh@muc.example.com/somenickname'>
<x xmlns='http://jabber.org/protocol/muc'/>
<token xmlns='http://jitsi.org/jitmeet/auth-token'>
0daad82d1ad81c718d643b71b46793af2295bb20e3eb436079e9bbd130ba1ad9_angrywhalesgrowhigh_1446573136000
0daad82d1ad81c718d643b7...e9bbd130ba1ad9_angrywhalesgrowhigh_1446573136000
</token>
</presence>
```
@ -106,7 +106,8 @@ connection.connect();
In order to start jitsi-meet conference with token you need to specify the token as URL param:
```
https://example.com/angrywhalesgrowhigh#config.token="0daad82d1ad81c718d643b71b46793af2295bb20e3eb436079e9bbd130ba1ad9_angrywhalesgrowhigh_1446573136000"
https://example.com/angrywhalesgrowhigh#config.token="0daad82d1ad81c718d643b71b46793af2295bb20
e3eb436079e9bbd130ba1ad9_angrywhalesgrowhigh_1446573136000"
```
At current level of integration every user that joins the conference has to provide the token and not just the one who
creates the room. It should be possible to change that by using second anonymous domain, but that hasn't been tested
@ -148,4 +149,4 @@ VirtualHost "jitmeet.example.com"
```lua
Component "conference.jitmeet.example.com" "muc"
modules_enabled = { "token_verification" }
```
```