/laravel-jitsi-jwt

Laravel based jitsi jwt token issuer

Primary LanguagePHP

laravel-jitsi-jwt

Simple Laravel based Jitsi JWT token issuer


About:

  • To show example usage of Jitsi instance. It has basic authentication feature, room and token management. I make it as simple as possible for my colleagues who don't understand token based authentication. Jitsi authentication is disabled by default, so I change it to token authentication, so it could handle its users, authenticate and join the room.

Features:

  1. Basic authentication
  2. User and room management
  3. Create and delete room
  4. Issue token and redirect to a independent Jitsi instance

How to use:

  • You should have running instance of Jitsi and configure it uses JWT token authentication.
  • Copy env.example to .env.
  • Modify .env file, set URL of your jitsi instance, and JWT token secret key.
  • Put this project in your server which is configured for laravel environment. (I recommend laradock for easy installation if you know docker)
  • Run composer install to install php dependencies.
  • Run php artisan config:clear to apply changes in .env
  • Run php artisan route:cache and php artisan route:cache
  • Access to your laravel server, register and create room.
  • Go to the main page and you should be able to join.

Example: 1

Sign in page

2

Register page

3

Room creation

4

Room manager

5

Token issued and redirect to Jitsi server

6

Joined room