https://github.com/jitsi-contrib/jitok
Jitsi Token Generator
https://github.com/jitsi-contrib/jitok
jitsi jwt token
Last synced: 2 months ago
JSON representation
Jitsi Token Generator
- Host: GitHub
- URL: https://github.com/jitsi-contrib/jitok
- Owner: jitsi-contrib
- License: apache-2.0
- Created: 2022-08-21T17:49:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-12-12T16:54:18.000Z (4 months ago)
- Last Synced: 2025-12-14T07:54:34.527Z (4 months ago)
- Topics: jitsi, jwt, token
- Language: Svelte
- Homepage:
- Size: 365 KB
- Stars: 22
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jitok
Jitsi token generator API and UI
- [API](/api)
- [UI](/ui)
## Demo
[jitok.emrah.com](https://jitok.emrah.com/)
## API Payload
- `alg`: "HS256" | "HS512"
\
_default_: `HS256`
- `secret`: string
\
_required_
- `aud`: string
\
_required_
- `iss`: string
\
_default_: _the_ `aud` _value_
- `sub`: string
\
_default_: `*`
- `room`: string
\
_default_: `*`
- `nbf`: number | string (formatted date)
\
_default_: `0` _sec_
- `exp`: number | string (formatted date)
\
_default_: `3600` _sec_
- `cntx_user_id`: string
- `cntx_user_name`: string
- `cntx_user_email`: string
- `cntx_user_avatar`: string
\
_e.g. https://mydomain.com/images/myavatar.png_
- `cntx_user_affi`: "owner" | "member"
- `cntx_user_lobby_bypass`: 0 | 1
- `cntx_user_security_bypass`: 0 | 1
- `cntx_room_lobby`: 0 | 1
- `cntx_room_lobby_autostart`: 0 | 1
- `cntx_room_password`: string
- `cntx_feat_rec`: 0 | 1
- `cntx_feat_live`: 0 | 1
- `cntx_feat_screen`: 0 | 1
- `cntx_feat_transcription`: 0 | 1
#### curl example
```bash
JSON=$(cat <